projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rose-Model für neue Tabelle currencies
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
Default.pm
diff --git
a/SL/DB/MetaSetup/Default.pm
b/SL/DB/MetaSetup/Default.pm
index
aec99e2
..
7b1df39
100644
(file)
--- a/
SL/DB/MetaSetup/Default.pm
+++ b/
SL/DB/MetaSetup/Default.pm
@@
-71,6
+71,15
@@
__PACKAGE__->meta->setup(
],
primary_key_columns => [ 'id' ],
+
+ allow_inline_column_values => 1,
+
+ foreign_keys => [
+ currency => {
+ class => 'SL::DB::Currency',
+ key_columns => { currency_id => 'id' },
+ },
+ ],
);
1;