Commit | Line | Data |
---|---|---|
56652073 | 1 | package # hide from PAUSE |
c7aececc | 2 | DBICTest::Schema::Artist::WashedUp; |
56652073 | 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', | |
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 | ||
19 | 1; |