projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added rels to view result classes in test schema
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
Year1999CDs.pm
diff --git
a/t/lib/DBICTest/Schema/Year1999CDs.pm
b/t/lib/DBICTest/Schema/Year1999CDs.pm
index
ee1c9ec
..
29b3666
100644
(file)
--- a/
t/lib/DBICTest/Schema/Year1999CDs.pm
+++ b/
t/lib/DBICTest/Schema/Year1999CDs.pm
@@
-28,4
+28,7
@@
__PACKAGE__->add_columns(
__PACKAGE__->set_primary_key('cdid');
__PACKAGE__->add_unique_constraint([ qw/artist title/ ]);
+__PACKAGE__->belongs_to( artist => 'DBICTest::Schema::Artist' );
+__PACKAGE__->has_many( tracks => 'DBICTest::Schema::Track' );
+
1;