duh
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / Artwork.pm
CommitLineData
4f6386b0 1package # hide from PAUSE
2 DBICTest::Schema::Artwork;
3
4use base qw/DBIx::Class::Core/;
5
6__PACKAGE__->table('cd_artwork');
7__PACKAGE__->add_columns(
8 'cd_id' => {
9 data_type => 'integer',
10 },
11);
12__PACKAGE__->set_primary_key('cd_id');
13__PACKAGE__->belongs_to('cd', 'DBICTest::Schema::CD', 'cd_id');
14__PACKAGE__->has_many('images', 'DBICTest::Schema::Image', 'artwork_id');
15
161;