]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blobdiff - t/lib/DBSchema/Result/Viewing.pm
m2m accepts one element instead of an arrayref; id as generic pk
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBSchema / Result / Viewing.pm
index 13dcaa0626ebe4f9cb11a4badf699a923ca0ea52..bf7e7ef6907d934091ad9cb37b5f54adaa11fb22 100755 (executable)
@@ -15,7 +15,7 @@ __PACKAGE__->belongs_to(
 
 __PACKAGE__->belongs_to( 
     dvd => 'DBSchema::Result::Dvd',
-    {'foreign.id'=>'self.dvd_id'},
+    {'foreign.dvd_id'=>'self.dvd_id'},
 );
 
 ;
This page took 0.01758 seconds and 4 git commands to generate.