projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Examples and documentation update and cleanup
[dbsrgits/DBIx-Class.git]
/
examples
/
Schema
/
MyApp
/
Schema
/
Result
/
Artist.pm
diff --git
a/examples/Schema/MyApp/Schema/Result/Artist.pm
b/examples/Schema/MyApp/Schema/Result/Artist.pm
index
70074b1
..
3cde36c
100644
(file)
--- 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;