X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FLyricVersion.pm;h=fb55738938824d0a45cd91968f0c4a10b131e85d;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=d4976593e703b34720339cd9f7fe02631deee907;hpb=3904d3c3bd6e3dda5dbc9dc49f8cc778eef114e2;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/LyricVersion.pm b/t/lib/DBICTest/Schema/LyricVersion.pm index d497659..fb55738 100644 --- a/t/lib/DBICTest/Schema/LyricVersion.pm +++ b/t/lib/DBICTest/Schema/LyricVersion.pm @@ -1,6 +1,9 @@ package # hide from PAUSE DBICTest::Schema::LyricVersion; +use warnings; +use strict; + use base qw/DBICTest::BaseResult/; __PACKAGE__->table('lyric_versions'); @@ -19,7 +22,6 @@ __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;