]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/Note.pm
Relation zw. Note und FollowUp eingetragen
[kivitendo-erp.git] / SL / DB / Note.pm
index 82c5776027b2942a73376e8b70e3f7ab6a6ff612..441a2731ef0fd87ef6179b11d96bbca9ee962960 100644 (file)
@@ -12,4 +12,12 @@ __PACKAGE__->meta->initialize;
 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
 __PACKAGE__->meta->make_manager_class;
 
+__PACKAGE__->meta->add_relationships(
+  followup => {
+    type         => 'one to one',
+    class        => 'SL::DB::FollowUp',
+    column_map   => { id => 'id' },
+  },
+);
+
 1;