X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate;a=blobdiff_plain;f=t%2Flib%2FDBSchema%2FResult%2FDvd.pm;h=aedd4354af028c112d81492a15ae728ccd7a22ac;hp=e9d6627773c4e9a8ae7641d1c492dca394ca5cf4;hb=986ee14c997fe16c849e26580c772db0f407875d;hpb=c565e2d0c9978c6810a07d5c2addf11ebf3a8c6f diff --git a/t/lib/DBSchema/Result/Dvd.pm b/t/lib/DBSchema/Result/Dvd.pm index e9d6627..aedd435 100644 --- a/t/lib/DBSchema/Result/Dvd.pm +++ b/t/lib/DBSchema/Result/Dvd.pm @@ -46,7 +46,7 @@ __PACKAGE__->add_columns( ); __PACKAGE__->set_primary_key('dvd_id'); __PACKAGE__->belongs_to('owner', 'DBSchema::Result::User', 'owner'); -__PACKAGE__->belongs_to('current_borrower', 'DBSchema::Result::User', 'current_borrower'); +__PACKAGE__->belongs_to('current_borrower', 'DBSchema::Result::User', 'current_borrower', { join_type => "LEFT" }); __PACKAGE__->has_many('dvdtags', 'Dvdtag', { 'foreign.dvd' => 'self.dvd_id' }); __PACKAGE__->has_many('viewings', 'DBSchema::Result::Viewing', { 'foreign.dvd_id' => 'self.dvd_id' }); __PACKAGE__->many_to_many('tags', 'dvdtags' => 'tag');