Revision 2baa29eb
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/DB/MetaSetup/PartCustomerPrice.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('part_customer_prices'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
customer_id => { type => 'integer', not_null => 1 }, |
|
13 |
customer_partnumber => { type => 'text', default => '' }, |
|
14 |
id => { type => 'serial', not_null => 1 }, |
|
15 |
lastupdate => { type => 'date', default => 'now()' }, |
|
16 |
parts_id => { type => 'integer', not_null => 1 }, |
|
17 |
price => { type => 'numeric', default => '0', precision => 15, scale => 5 }, |
|
18 |
sortorder => { type => 'integer', default => '0' }, |
|
12 |
customer_id => { type => 'integer', not_null => 1 }, |
|
13 |
customer_partnumber => { type => 'text', default => '' }, |
|
14 |
id => { type => 'serial', not_null => 1 }, |
|
15 |
lastupdate => { type => 'date', default => 'now()' }, |
|
16 |
part_description => { type => 'text' }, |
|
17 |
part_longdescription => { type => 'text' }, |
|
18 |
parts_id => { type => 'integer', not_null => 1 }, |
|
19 |
price => { type => 'numeric', default => '0', precision => 15, scale => 5 }, |
|
20 |
sortorder => { type => 'integer', default => '0' }, |
|
19 | 21 |
); |
20 | 22 |
|
21 | 23 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
Auch abrufbar als: Unified diff
Kundenspez. Preise um Beschreibung u. Langtext erweitern: DB u. Rose