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',
19 data_type => 'VARCHAR',
25 __PACKAGE__->set_primary_key('foo');
27 package DBICVersion::Schema;
28 use base 'DBIx::Class::Schema';
34 __PACKAGE__->register_class('Foo', 'DBICVersion::Foo');
35 __PACKAGE__->load_components('DeploymentHandler::VersionStorage::Standard::Component');