projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Introduce GOVERNANCE document and empty RESOLUTIONS file.
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
Genre.pm
diff --git
a/t/lib/DBICTest/Schema/Genre.pm
b/t/lib/DBICTest/Schema/Genre.pm
index
3b3675a
..
461526e
100644
(file)
--- a/
t/lib/DBICTest/Schema/Genre.pm
+++ b/
t/lib/DBICTest/Schema/Genre.pm
@@
-1,5
+1,6
@@
package DBICTest::Schema::Genre;
+use warnings;
use strict;
use base qw/DBICTest::BaseResult/;
@@
-20,4
+21,6
@@
__PACKAGE__->add_unique_constraint ( genre_name => [qw/name/] );
__PACKAGE__->has_many (cds => 'DBICTest::Schema::CD', 'genreid');
+__PACKAGE__->has_one (model_cd => 'DBICTest::Schema::CD', 'genreid');
+
1;