From: John Napiorkowski Date: Mon, 16 May 2011 19:25:07 +0000 (-0400) Subject: fixed incorrect join condition on a relationship which dies on newer and more strict... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=20155826372079d8f38cbbb0ae0bc1d10a83ee4c;p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate fixed incorrect join condition on a relationship which dies on newer and more strict DBIC versions --- diff --git a/t/lib/DBSchema/Result/Personality.pm b/t/lib/DBSchema/Result/Personality.pm index 3284fa1..b4d2ac9 100644 --- a/t/lib/DBSchema/Result/Personality.pm +++ b/t/lib/DBSchema/Result/Personality.pm @@ -9,7 +9,7 @@ __PACKAGE__->load_components( "PK::Auto", "Core" ); __PACKAGE__->table("personality"); __PACKAGE__->add_columns( "user_id" => { data_type => 'integer' }, ); __PACKAGE__->set_primary_key("user_id"); -__PACKAGE__->has_one( 'user', 'DBSchema::Result::User', {'user_id' => 'foreign.id'}, ); +__PACKAGE__->has_one( 'user', 'DBSchema::Result::User', {'foreign.id' => 'self.user_id'}, ); 1;