X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/6cf3f7762efd40bee49a2b8f11bb4ab6915d9071..84530888321c20c44b7fe4a2ef4bc7dccabf13c2:/SL/DB/Note.pm diff --git a/SL/DB/Note.pm b/SL/DB/Note.pm index 367829512..c539d6a05 100644 --- a/SL/DB/Note.pm +++ b/SL/DB/Note.pm @@ -7,7 +7,19 @@ use strict; use SL::DB::MetaSetup::Note; + +__PACKAGE__->meta->add_relationships( + follow_up => { + type => 'one to one', + class => 'SL::DB::FollowUp', + column_map => { id => 'note_id' }, + }, +); + +__PACKAGE__->meta->initialize; + # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. __PACKAGE__->meta->make_manager_class; + 1;