1 package # hide from PAUSE
2 DBICTest::Schema::BooksInLibrary;
4 use base qw/DBICTest::BaseResult/;
6 __PACKAGE__->table('books');
7 __PACKAGE__->add_columns(
9 data_type => 'integer',
10 is_auto_increment => 1,
13 data_type => 'varchar',
17 data_type => 'integer',
20 data_type => 'varchar',
24 data_type => 'integer',
28 __PACKAGE__->set_primary_key('id');
30 __PACKAGE__->resultset_attributes({where => { source => "Library" } });
32 __PACKAGE__->belongs_to ( owner => 'DBICTest::Schema::Owners', 'owner' );