]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blobdiff - t/lib/DBSchema/Result/Twokeys.pm
Merge branch 'master' of http://github.com/abraxxa/DBIx--Class--ResultSet--RecursiveU...
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBSchema / Result / Twokeys.pm
index 7d71d01dd9e1d6ae3db356cef318a27010386f7c..ff27f92bc58f9c3baa9242d53ea06a968fadc6a6 100644 (file)
@@ -15,8 +15,7 @@ __PACKAGE__->add_columns(
 );
 __PACKAGE__->set_primary_key("dvd_name", "key2");
 
-__PACKAGE__->add_relationship('like_belongs_to', 'DBSchema::Result::Dvd', { 'foreign.name' => 'self.dvd_name' }, );
+__PACKAGE__->add_relationship('like_belongs_to', 'DBSchema::Result::Dvd', { 'foreign.name' => 'self.dvd_name' }, { accessor => 'single' });
 
 
-1;
-
+1;
\ No newline at end of file
This page took 0.021173 seconds and 4 git commands to generate.