1 package # hide from PAUSE
2 DBICTest::Schema::Owners;
7 use base qw/DBICTest::BaseResult/;
9 __PACKAGE__->table('owners');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
13 is_auto_increment => 1,
16 data_type => 'varchar',
20 __PACKAGE__->set_primary_key('id');
22 __PACKAGE__->add_unique_constraint(['name']);
24 __PACKAGE__->has_many(books => "DBICTest::Schema::BooksInLibrary", "owner");