MetaSetup: Folgerun um die Foreign Keys umzudrehen
[kivitendo-erp.git] / SL / DB / MetaSetup / FollowUp.pm
index b102f24..8f83c6c 100644 (file)
@@ -33,13 +33,10 @@ __PACKAGE__->meta->foreign_keys(
     class       => 'SL::DB::Employee',
     key_columns => { created_by => 'id' },
   },
-);
 
-__PACKAGE__->meta->relationships(
-  follow_up_links => {
-    class      => 'SL::DB::FollowUpLink',
-    column_map => { id => 'follow_up_id' },
-    type       => 'one to many',
+  note => {
+    class       => 'SL::DB::Note',
+    key_columns => { note_id => 'id' },
   },
 );