testing for when resources are nested
[dbsrgits/DBIx-Class-Fixtures.git] / t / lib / DBICTest / Schema / Artist / WashedUp.pm
CommitLineData
56652073 1package # hide from PAUSE
c7aececc 2 DBICTest::Schema::Artist::WashedUp;
56652073 3
4use base 'DBIx::Class::Core';
5
6__PACKAGE__->table('artist_washed_up');
7__PACKAGE__->add_columns(
8 'fk_artistid' => {
9 data_type => 'integer',
56652073 10 },
11);
12
13__PACKAGE__->set_primary_key('fk_artistid');
14__PACKAGE__->belongs_to(
15 'artist', 'DBICTest::Schema::Artist',
16 { 'foreign.artistid' => 'self.fk_artistid' }
17);
18
191;