From: Peter Rabbitson Date: Sun, 7 Mar 2010 09:23:23 +0000 (+0000) Subject: Cleanup a bit X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b33d634cea9b716716da207eae749100014853c0;p=dbsrgits%2FDBIx-Class-Historic.git Cleanup a bit --- diff --git a/t/lib/DBICTest/Schema/Employee.pm b/t/lib/DBICTest/Schema/Employee.pm index 9bf015a..30c2bca 100644 --- a/t/lib/DBICTest/Schema/Employee.pm +++ b/t/lib/DBICTest/Schema/Employee.pm @@ -37,13 +37,7 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key('employee_id'); __PACKAGE__->position_column('position'); -#__PACKAGE__->add_unique_constraint(position_group => [ qw/position group_id/ ]); - -__PACKAGE__->mk_classdata('field_name_for', { - employee_id => 'primary key', - position => 'list position', - group_id => 'collection column', - name => 'employee name', -}); +# Do not add unique constraints here - different groups are used throughout +# the ordered tests 1;