Revision 4bcf8804
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/Printer.pm | ||
---|---|---|
17 | 17 |
|
18 | 18 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
19 | 19 |
|
20 |
__PACKAGE__->meta->relationships( |
|
21 |
periodic_invoices_configs => { |
|
22 |
class => 'SL::DB::PeriodicInvoicesConfig', |
|
23 |
column_map => { id => 'printer_id' }, |
|
24 |
type => 'one to many', |
|
25 |
}, |
|
26 |
); |
|
27 |
|
|
28 | 20 |
# __PACKAGE__->meta->initialize; |
29 | 21 |
|
30 | 22 |
1; |
Auch abrufbar als: Unified diff
MetaSetup: Folgerun um die Foreign Keys umzudrehen