Count warnings differently, as SQLT produces some weird stuff under 5.10. All of...
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / CD_to_Producer.pm
CommitLineData
c6d74d3e 1package # hide from PAUSE
2 DBICTest::Schema::CD_to_Producer;
30a8108e 3
4use base 'DBIx::Class::Core';
5
6__PACKAGE__->table('cd_to_producer');
0009fa49 7__PACKAGE__->add_columns(
8 cd => { data_type => 'integer' },
9 producer => { data_type => 'integer' },
10);
30a8108e 11__PACKAGE__->set_primary_key(qw/cd producer/);
12
ff657a43 13__PACKAGE__->belongs_to(
14 'cd', 'DBICTest::Schema::CD',
15 { 'foreign.cdid' => 'self.cd' }
16);
17
18__PACKAGE__->belongs_to(
19 'producer', 'DBICTest::Schema::Producer',
20 { 'foreign.producerid' => 'self.producer' }
21);
22
30a8108e 231;