From: Thomas Heck Date: Mon, 24 Jun 2013 08:31:11 +0000 (+0200) Subject: Relation zw. Note und FollowUp eingetragen X-Git-Tag: release-3.1.0beta1~161^2^2~38 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/172e2b695d1f376dbe3344d19c207db8667315dd?ds=sidebyside;hp=-c Relation zw. Note und FollowUp eingetragen --- 172e2b695d1f376dbe3344d19c207db8667315dd diff --git a/SL/DB/Note.pm b/SL/DB/Note.pm index 82c577602..441a2731e 100644 --- a/SL/DB/Note.pm +++ b/SL/DB/Note.pm @@ -12,4 +12,12 @@ __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;