Revision 3b239c98
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
SL/DB/MetaSetup/ShopOrder.pm | ||
---|---|---|
76 | 76 |
shop_customer_comment => { type => 'text' }, |
77 | 77 |
shop_customer_id => { type => 'integer' }, |
78 | 78 |
shop_customer_number => { type => 'text' }, |
79 |
shop_data => { type => 'text' }, |
|
80 | 79 |
shop_id => { type => 'integer' }, |
81 | 80 |
shop_ordernumber => { type => 'text' }, |
82 | 81 |
shop_trans_id => { type => 'integer', not_null => 1 }, |
... | ... | |
89 | 88 |
|
90 | 89 |
__PACKAGE__->meta->allow_inline_column_values(1); |
91 | 90 |
|
91 |
__PACKAGE__->meta->foreign_keys( |
|
92 |
kivi_customer => { |
|
93 |
class => 'SL::DB::Customer', |
|
94 |
key_columns => { kivi_customer_id => 'id' }, |
|
95 |
}, |
|
96 |
|
|
97 |
shop => { |
|
98 |
class => 'SL::DB::Shop', |
|
99 |
key_columns => { shop_id => 'id' }, |
|
100 |
}, |
|
101 |
); |
|
102 |
|
|
92 | 103 |
1; |
93 | 104 |
; |
Auch abrufbar als: Unified diff
Shopmodul: Shoporders Tbl geändert fkeys und unnötige spalten gelöscht
syntax im Shopoder Controller