]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
fixed incorrect join condition on a relationship which dies on newer and more strict...
authorJohn Napiorkowski <jjn1056@yahoo.com>
Mon, 16 May 2011 19:25:07 +0000 (15:25 -0400)
committerJohn Napiorkowski <jjn1056@yahoo.com>
Mon, 16 May 2011 19:25:07 +0000 (15:25 -0400)
t/lib/DBSchema/Result/Personality.pm

index 3284fa1c979c29c697c9738b83aca7fd60619338..b4d2ac938c499659ec3265618e2e90e39ef26295 100644 (file)
@@ -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;
 
This page took 0.023939 seconds and 4 git commands to generate.