X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FTwoKeys.pm;h=bfb6c42b106ce27472de6f33ed6103e132e86856;hb=ba19fccc5a38a4eb1eb25abbe181338f1dac9753;hp=beced31faf59a3702b52cb89296469d5807f6c53;hpb=89cf6a706832b79c02f980077bd30525b3716ee0;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/TwoKeys.pm b/t/lib/DBICTest/Schema/TwoKeys.pm old mode 100755 new mode 100644 index beced31..bfb6c42 --- a/t/lib/DBICTest/Schema/TwoKeys.pm +++ b/t/lib/DBICTest/Schema/TwoKeys.pm @@ -1,7 +1,7 @@ package # hide from PAUSE DBICTest::Schema::TwoKeys; -use base 'DBIx::Class::Core'; +use base qw/DBICTest::BaseResult/; __PACKAGE__->table('twokeys'); __PACKAGE__->add_columns( @@ -15,7 +15,7 @@ __PACKAGE__->belongs_to( {'foreign.artistid'=>'self.artist'}, ); -__PACKAGE__->belongs_to( cd => 'DBICTest::Schema::CD', undef, { is_deferrable => 0 } ); +__PACKAGE__->belongs_to( cd => 'DBICTest::Schema::CD', undef, { is_deferrable => 0, add_fk_index => 0 } ); __PACKAGE__->has_many( 'fourkeys_to_twokeys', 'DBICTest::Schema::FourKeys_to_TwoKeys', {