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:
21436d8
)
Relation zw. Note und FollowUp eingetragen
author
Thomas Heck
<theck@linet-services.de>
Mon, 24 Jun 2013 08:31:11 +0000
(10:31 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Thu, 18 Jul 2013 07:09:01 +0000
(09:09 +0200)
SL/DB/Note.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Note.pm
b/SL/DB/Note.pm
index
82c5776
..
441a273
100644
(file)
--- 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;