Examples and documentation update and cleanup
[dbsrgits/DBIx-Class.git] / examples / Schema / MyApp / Schema / Result / Artist.pm
index 70074b1..3cde36c 100644 (file)
@@ -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;