Revision b5b366c9
Von Moritz Bunkus vor etwa 3 Jahren hinzugefügt
SL/DB/MetaSetup/Order.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' }, |
14 | 15 |
cp_id => { type => 'integer' }, |
15 | 16 |
currency_id => { type => 'integer', not_null => 1 }, |
... | ... | |
57 | 58 |
__PACKAGE__->meta->allow_inline_column_values(1); |
58 | 59 |
|
59 | 60 |
__PACKAGE__->meta->foreign_keys( |
61 |
billing_address => { |
|
62 |
class => 'SL::DB::AdditionalBillingAddress', |
|
63 |
key_columns => { billing_address_id => 'id' }, |
|
64 |
}, |
|
65 |
|
|
60 | 66 |
contact => { |
61 | 67 |
class => 'SL::DB::Contact', |
62 | 68 |
key_columns => { cp_id => 'cp_id' }, |
Auch abrufbar als: Unified diff
Zusätzliche Rechnungsadressen: Datenbankupgrade, MetaSetup, Rose-Models