X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FFollowUp.pm;h=b7121b237d522e0f3e6c9720d1870b48e4edf103;hb=b74d1c197c8365b14587838d999244274de12884;hp=b50c90f2a9316bf1d68459a1a59d8e7151b9828c;hpb=6cf3f7762efd40bee49a2b8f11bb4ab6915d9071;p=kivitendo-erp.git diff --git a/SL/DB/FollowUp.pm b/SL/DB/FollowUp.pm index b50c90f2a..b7121b237 100644 --- a/SL/DB/FollowUp.pm +++ b/SL/DB/FollowUp.pm @@ -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;