manuelle relationship in vendor entfernt - ist jetzt automatisch in MetaSetup
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 13 Oct 2011 08:47:41 +0000 (10:47 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 13 Oct 2011 08:47:41 +0000 (10:47 +0200)
SL/DB/Vendor.pm

index 5841eda..1dd9369 100644 (file)
@@ -25,11 +25,6 @@ __PACKAGE__->meta->add_relationship(
     column_map   => { id      => 'cp_cv_id' },
     manager_args => { sort_by => 'lower(contacts.cp_name)' },
   },
-  business => {
-    type         => 'one to one',
-    class        => 'SL::DB::Business',
-    column_map   => { business_id => 'id' },
-  },
 );
 
 __PACKAGE__->meta->make_manager_class;