projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MetaSetup: Folgerun um die Foreign Keys umzudrehen
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
FollowUpLink.pm
diff --git
a/SL/DB/MetaSetup/FollowUpLink.pm
b/SL/DB/MetaSetup/FollowUpLink.pm
index
00e25ec
..
820c16b
100644
(file)
--- a/
SL/DB/MetaSetup/FollowUpLink.pm
+++ b/
SL/DB/MetaSetup/FollowUpLink.pm
@@
-22,6
+22,13
@@
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
__PACKAGE__->meta->allow_inline_column_values(1);
+__PACKAGE__->meta->foreign_keys(
+ follow_up => {
+ class => 'SL::DB::FollowUp',
+ key_columns => { follow_up_id => 'id' },
+ },
+);
+
# __PACKAGE__->meta->initialize;
1;