Someone claimed this is a problem...
Peter Rabbitson [Mon, 14 Sep 2009 16:24:44 +0000 (16:24 +0000)]
t/lib/DBICTest/Schema/Artist.pm

index 2b4b42c..4bc0b5c 100644 (file)
@@ -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',