From: John Napiorkowski Date: Thu, 5 Mar 2015 23:46:54 +0000 (-0600) Subject: new test resultsource X-Git-Tag: v1.001_030~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5665207333a03eda920784754b59d30ee8768f0f;p=dbsrgits%2FDBIx-Class-Fixtures.git new test resultsource --- diff --git a/t/lib/DBICTest/Schema/Artist/WashedUp.pm b/t/lib/DBICTest/Schema/Artist/WashedUp.pm new file mode 100644 index 0000000..1bbc218 --- /dev/null +++ b/t/lib/DBICTest/Schema/Artist/WashedUp.pm @@ -0,0 +1,20 @@ +package # hide from PAUSE + DBICTest::Schema::Artist; + +use base 'DBIx::Class::Core'; + +__PACKAGE__->table('artist_washed_up'); +__PACKAGE__->add_columns( + 'fk_artistid' => { + data_type => 'integer', + is_auto_increment => 1, + }, +); + +__PACKAGE__->set_primary_key('fk_artistid'); +__PACKAGE__->belongs_to( + 'artist', 'DBICTest::Schema::Artist', + { 'foreign.artistid' => 'self.fk_artistid' } +); + +1;