testing for when resources are nested
[dbsrgits/DBIx-Class-Fixtures.git] / t / lib / DBICTest / Schema / Artist / WashedUp.pm
1 package # hide from PAUSE 
2     DBICTest::Schema::Artist::WashedUp;
3
4 use base 'DBIx::Class::Core';
5
6 __PACKAGE__->table('artist_washed_up');
7 __PACKAGE__->add_columns(
8   'fk_artistid' => {
9     data_type => 'integer',
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
19 1;