Revision 4bcf8804
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/InvoiceItem.pm | ||
---|---|---|
45 | 45 |
__PACKAGE__->meta->allow_inline_column_values(1); |
46 | 46 |
|
47 | 47 |
__PACKAGE__->meta->foreign_keys( |
48 |
parts => {
|
|
48 |
part => { |
|
49 | 49 |
class => 'SL::DB::Part', |
50 | 50 |
key_columns => { parts_id => 'id' }, |
51 | 51 |
}, |
52 | 52 |
|
53 |
price_factor_obj => { |
|
54 |
class => 'SL::DB::PriceFactor', |
|
55 |
key_columns => { price_factor_id => 'id' }, |
|
56 |
}, |
|
57 |
|
|
58 |
pricegroup => { |
|
59 |
class => 'SL::DB::Pricegroup', |
|
60 |
key_columns => { pricegroup_id => 'id' }, |
|
61 |
}, |
|
62 |
|
|
53 | 63 |
project => { |
54 | 64 |
class => 'SL::DB::Project', |
55 | 65 |
key_columns => { project_id => 'id' }, |
Auch abrufbar als: Unified diff
MetaSetup: Folgerun um die Foreign Keys umzudrehen