Not sure what this part of the test is for, but it breaks custom resultsets, and...
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Artwork_to_Artist.pm
CommitLineData
d5633096 1package # hide from PAUSE
2 DBICTest::Schema::Artwork_to_Artist;
3
4use base qw/DBIx::Class::Core/;
5
6__PACKAGE__->table('artwork_to_artist');
7__PACKAGE__->add_columns(
8 'artwork_cd_id' => {
9 data_type => 'integer',
10 is_foreign_key => 1,
11 },
12 'artist_id' => {
13 data_type => 'integer',
14 is_foreign_key => 1,
15 },
16);
17__PACKAGE__->set_primary_key(qw/artwork_cd_id artist_id/);
18__PACKAGE__->belongs_to('artwork', 'DBICTest::Schema::Artwork', 'artwork_cd_id');
19__PACKAGE__->belongs_to('artist', 'DBICTest::Schema::Artist', 'artist_id');
20
211;