1 package # hide from PAUSE
2 DBICTest::Schema::Image;
7 use base qw/DBICTest::BaseResult/;
9 __PACKAGE__->table('images');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
13 is_auto_increment => 1,
16 data_type => 'integer',
20 data_type => 'varchar',
28 __PACKAGE__->set_primary_key('id');
29 __PACKAGE__->belongs_to('artwork', 'DBICTest::Schema::Artwork', 'artwork_id');