projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8453088
)
Relation von FollowUp auf FollowUpLink
author
Thomas Heck
<theck@linet-services.de>
Fri, 8 Nov 2013 13:19:48 +0000
(14:19 +0100)
committer
Thomas Heck
<theck@linet-services.de>
Fri, 8 Nov 2013 13:24:42 +0000
(14:24 +0100)
SL/DB/FollowUp.pm
patch
|
blob
|
history
diff --git
a/SL/DB/FollowUp.pm
b/SL/DB/FollowUp.pm
index
734ebed
..
b7121b2
100644
(file)
--- a/
SL/DB/FollowUp.pm
+++ b/
SL/DB/FollowUp.pm
@@
-7,6
+7,14
@@
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.