projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge branch 'master' into topic/constructor_rewrite
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
LyricVersion.pm
diff --git
a/t/lib/DBICTest/Schema/LyricVersion.pm
b/t/lib/DBICTest/Schema/LyricVersion.pm
index
fb55738
..
93538a8
100644
(file)
--- a/
t/lib/DBICTest/Schema/LyricVersion.pm
+++ b/
t/lib/DBICTest/Schema/LyricVersion.pm
@@
-22,6
+22,7
@@
__PACKAGE__->add_columns(
},
);
__PACKAGE__->set_primary_key('id');
+__PACKAGE__->add_unique_constraint ([qw/lyric_id text/]);
__PACKAGE__->belongs_to('lyric', 'DBICTest::Schema::Lyrics', 'lyric_id');
1;