]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/FollowUp.pm
Reapply "country_mode entfernt."
[kivitendo-erp.git] / SL / DB / FollowUp.pm
index b50c90f2a9316bf1d68459a1a59d8e7151b9828c..b7121b237d522e0f3e6c9720d1870b48e4edf103 100644 (file)
@@ -7,6 +7,16 @@ use strict;
 
 use SL::DB::MetaSetup::FollowUp;
 
+__PACKAGE__->meta->add_relationships(
+  follow_up_link => {
+    type         => 'one to one',
+    class        => 'SL::DB::FollowUpLink',
+    column_map   => { id => 'follow_up_id' },
+  },
+);
+
+__PACKAGE__->meta->initialize;
+
 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
 __PACKAGE__->meta->make_manager_class;