test for ->install
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / lib / DBICVersion_v3.pm
CommitLineData
e0743c25 1package DBICVersion::Foo;
2
3use base 'DBIx::Class::Core';
4use strict;
5use warnings;
6
7__PACKAGE__->table('Foo');
8
9__PACKAGE__->add_columns(
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 },
22 biff => {
23 data_type => 'VARCHAR',
24 size => '10'
25 },
26);
27
28__PACKAGE__->set_primary_key('foo');
29
30package DBICVersion::Schema;
31use base 'DBIx::Class::Schema';
32use strict;
33use warnings;
34
35our $VERSION = '3.0';
36
37__PACKAGE__->register_class('Foo', 'DBICVersion::Foo');
38__PACKAGE__->load_components('DeploymentHandler::Component');
39
401;