how did I miss this?
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / lib / DBICVersion_v2.pm
CommitLineData
cdb45dee 1package DBICVersion::Foo2;
e0743c25 2
3use base 'DBIx::Class::Core';
4use strict;
5use warnings;
6
7__PACKAGE__->table('Foo');
8
9__PACKAGE__->add_columns(
cdb45dee 10 foo => {
11 data_type => 'INTEGER',
12 is_auto_increment => 1,
13 },
14 bar => {
15 data_type => 'VARCHAR',
16 size => '10'
17 },
18 baz => {
19 data_type => 'VARCHAR',
20 size => '10',
21 is_nullable => 1,
22 },
23 doomed => {
24 data_type => 'VARCHAR',
25 size => '10',
26 is_nullable => 1,
27 },
e0743c25 28);
29
30__PACKAGE__->set_primary_key('foo');
31
cdb45dee 32package DBICVersion::Schema2;
e0743c25 33use base 'DBIx::Class::Schema';
34use strict;
35use warnings;
36
37our $VERSION = '2.0';
38
cdb45dee 39__PACKAGE__->register_class('Foo', 'DBICVersion::Foo2');
30c3818a 40__PACKAGE__->load_components('DeploymentHandler::VersionStorage::Standard::Component');
e0743c25 41
421;