From: Peter Rabbitson Date: Mon, 14 Sep 2009 16:24:44 +0000 (+0000) Subject: Someone claimed this is a problem... X-Git-Tag: v0.08112~19 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a6253045dddc5f3c0f1c80be436acb7c6ec5455;p=dbsrgits%2FDBIx-Class.git Someone claimed this is a problem... --- diff --git a/t/lib/DBICTest/Schema/Artist.pm b/t/lib/DBICTest/Schema/Artist.pm index 2b4b42c..4bc0b5c 100644 --- a/t/lib/DBICTest/Schema/Artist.pm +++ b/t/lib/DBICTest/Schema/Artist.pm @@ -30,7 +30,7 @@ __PACKAGE__->add_columns( }, ); __PACKAGE__->set_primary_key('artistid'); -__PACKAGE__->add_unique_constraint(['artistid']); # do not remove, part of a test +__PACKAGE__->add_unique_constraint(artist => ['artistid']); # do not remove, part of a test __PACKAGE__->mk_classdata('field_name_for', { artistid => 'primary key',