1 package DBICVersion::Foo;
3 use base 'DBIx::Class::Core';
7 __PACKAGE__->table('Foo');
9 __PACKAGE__->add_columns(
11 data_type => 'INTEGER',
12 is_auto_increment => 1,
15 data_type => 'VARCHAR',
20 __PACKAGE__->set_primary_key('foo');
22 package DBICVersion::Schema;
23 use base 'DBIx::Class::Schema';
29 __PACKAGE__->register_class('Foo', 'DBICVersion::Foo');
30 __PACKAGE__->load_components('DeploymentHandler::Component');