Revision 5217f746
Von Tamino Steinert vor mehr als 2 Jahren hinzugefügt
SL/DB/MetaSetup/Reclamation.pm | ||
---|---|---|
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
amount => { type => 'numeric', precision => 15, scale => 5 }, |
13 |
billing_address_id => { type => 'integer' }, |
|
13 | 14 |
closed => { type => 'boolean', default => 'false', not_null => 1 }, |
14 | 15 |
contact_id => { type => 'integer' }, |
15 | 16 |
currency_id => { type => 'integer', not_null => 1 }, |
... | ... | |
48 | 49 |
__PACKAGE__->meta->allow_inline_column_values(1); |
49 | 50 |
|
50 | 51 |
__PACKAGE__->meta->foreign_keys( |
52 |
billing_address => { |
|
53 |
class => 'SL::DB::AdditionalBillingAddress', |
|
54 |
key_columns => { billing_address_id => 'id' }, |
|
55 |
}, |
|
56 |
|
|
51 | 57 |
contact => { |
52 | 58 |
class => 'SL::DB::Contact', |
53 | 59 |
key_columns => { contact_id => 'cp_id' }, |
Auch abrufbar als: Unified diff
Reclamation: add billing_address_id to reclamation