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
/
PeriodicInvoicesConfig.pm
diff --git
a/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm
b/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm
index
414918a
..
2beb87a
100644
(file)
--- a/
SL/DB/MetaSetup/PeriodicInvoicesConfig.pm
+++ b/
SL/DB/MetaSetup/PeriodicInvoicesConfig.pm
@@
-35,14
+35,10
@@
__PACKAGE__->meta->foreign_keys(
class => 'SL::DB::Order',
key_columns => { oe_id => 'id' },
},
class => 'SL::DB::Order',
key_columns => { oe_id => 'id' },
},
-);
-__PACKAGE__->meta->relationships(
- ars => {
- map_class => 'SL::DB::PeriodicInvoice',
- map_from => 'config',
- map_to => 'ar',
- type => 'many to many',
+ printer => {
+ class => 'SL::DB::Printer',
+ key_columns => { printer_id => 'id' },
},
);
},
);