X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FNote.pm;h=441a2731ef0fd87ef6179b11d96bbca9ee962960;hb=e8b158e97c5a24c827f0c46873f2048e95cac35c;hp=36782951230cb46728338e1727af46b154d43d89;hpb=6cf3f7762efd40bee49a2b8f11bb4ab6915d9071;p=kivitendo-erp.git diff --git a/SL/DB/Note.pm b/SL/DB/Note.pm index 367829512..441a2731e 100644 --- a/SL/DB/Note.pm +++ b/SL/DB/Note.pm @@ -7,7 +7,17 @@ use strict; use SL::DB::MetaSetup::Note; +__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;