X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/2d7e4203055156dccb2ca3fba82bbb32873ecd2e..ada964d139eb652502bbdec96adf8634e49d8872:/SL/DB/Note.pm diff --git a/SL/DB/Note.pm b/SL/DB/Note.pm index 82c577602..c539d6a05 100644 --- a/SL/DB/Note.pm +++ b/SL/DB/Note.pm @@ -7,9 +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;