MetaSetup: Folgerun um die Foreign Keys umzudrehen
[kivitendo-erp.git] / SL / DB / MetaSetup / FollowUpLink.pm
index 00e25ec..820c16b 100644 (file)
@@ -22,6 +22,13 @@ __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
 __PACKAGE__->meta->allow_inline_column_values(1);
 
+__PACKAGE__->meta->foreign_keys(
+  follow_up => {
+    class       => 'SL::DB::FollowUp',
+    key_columns => { follow_up_id => 'id' },
+  },
+);
+
 # __PACKAGE__->meta->initialize;
 
 1;