X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=examples%2FSchema%2FMyApp%2FSchema%2FResult%2FArtist.pm;fp=examples%2FSchema%2FMyApp%2FSchema%2FResult%2FArtist.pm;h=3cde36c922044744bd2df8747d05d24c80417d89;hb=409a3b1e1774dcaceb591544e656dd09e3a75878;hp=70074b17da534401b0b978445cdb53dc6791387a;hpb=372b98a6eaaca008a75f826bf75347537f4c866b;p=dbsrgits%2FDBIx-Class.git diff --git a/examples/Schema/MyApp/Schema/Result/Artist.pm b/examples/Schema/MyApp/Schema/Result/Artist.pm index 70074b1..3cde36c 100644 --- a/examples/Schema/MyApp/Schema/Result/Artist.pm +++ b/examples/Schema/MyApp/Schema/Result/Artist.pm @@ -21,7 +21,7 @@ __PACKAGE__->set_primary_key('artistid'); __PACKAGE__->add_unique_constraint([qw( name )]); -__PACKAGE__->has_many('cds' => 'MyApp::Schema::Result::Cd'); +__PACKAGE__->has_many('cds' => 'MyApp::Schema::Result::Cd', 'artistid'); 1;