File Coverage

blib/lib/DBIx/Class/DeploymentHandler/VersionStorage/Deprecated/VersionResult.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package DBIx::Class::DeploymentHandler::VersionStorage::Deprecated::VersionResult;
2             $DBIx::Class::DeploymentHandler::VersionStorage::Deprecated::VersionResult::VERSION = '0.002231';
3             # ABSTRACT: (DEPRECATED) The old way to store versions in the database
4              
5 1     1   8 use strict;
  1         3  
  1         31  
6 1     1   6 use warnings;
  1         2  
  1         30  
7              
8 1     1   6 use parent 'DBIx::Class::Core';
  1         2  
  1         9  
9              
10             __PACKAGE__->table('dbix_class_schema_versions');
11              
12             __PACKAGE__->add_columns (
13             version => {
14             data_type => 'VARCHAR',
15             is_nullable => 0,
16             size => '10'
17             },
18             installed => {
19             data_type => 'VARCHAR',
20             is_nullable => 0,
21             size => '20'
22             },
23             );
24              
25             __PACKAGE__->set_primary_key('version');
26              
27             __PACKAGE__->resultset_class('DBIx::Class::DeploymentHandler::VersionStorage::Deprecated::VersionResultSet');
28              
29             1;
30              
31             # vim: ts=2 sw=2 expandtab
32              
33             __END__
34              
35             =pod
36              
37             =head1 NAME
38              
39             DBIx::Class::DeploymentHandler::VersionStorage::Deprecated::VersionResult - (DEPRECATED) The old way to store versions in the database
40              
41             =head1 DEPRECATED
42              
43             This component has been suplanted by
44             L<DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult>.
45             In the next major version (1) we will begin issuing a warning on it's use.
46             In the major version after that (2) we will remove it entirely.
47              
48             =head1 AUTHOR
49              
50             Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
51              
52             =head1 COPYRIGHT AND LICENSE
53              
54             This software is copyright (c) 2019 by Arthur Axel "fREW" Schmidt.
55              
56             This is free software; you can redistribute it and/or modify it under
57             the same terms as the Perl 5 programming language system itself.
58              
59             =cut