Commit | Line | Data |
01342998 |
1 | package DBIx::Class::DeploymentHandler::VersionStorage::Deprecated::VersionResult; |
2 | |
0fa93773 |
3 | # ABSTRACT: (DEPRECATED) The old way to store versions in the database |
4 | |
01342998 |
5 | use strict; |
6 | use warnings; |
7 | |
8 | use parent 'DBIx::Class::Core'; |
9 | |
fe3b6dff |
10 | __PACKAGE__->table('dbix_class_schema_versions'); |
01342998 |
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 | |
e52174e3 |
31 | # vim: ts=2 sw=2 expandtab |
32 | |
33 | __END__ |
34 | |
e068a12a |
35 | =head1 DEPRECATED |
36 | |
37 | This component has been suplanted by |
38 | L<DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult>. |
39 | In the next major version (1) we will begin issuing a warning on it's use. |
40 | In the major version after that (2) we will remove it entirely. |
41 | |