9 |
9 |
__PACKAGE__->meta->table('vendor');
|
10 |
10 |
|
11 |
11 |
__PACKAGE__->meta->columns(
|
12 |
|
account_number => { type => 'varchar', length => 15 },
|
|
12 |
account_number => { type => 'text' },
|
13 |
13 |
bank => { type => 'text' },
|
14 |
|
bank_code => { type => 'varchar', length => 10 },
|
|
14 |
bank_code => { type => 'text' },
|
15 |
15 |
bcc => { type => 'text' },
|
16 |
16 |
bic => { type => 'varchar', length => 100 },
|
17 |
17 |
business_id => { type => 'integer' },
|
18 |
18 |
cc => { type => 'text' },
|
19 |
19 |
city => { type => 'varchar', length => 75 },
|
20 |
|
contact => { type => 'varchar', length => 75 },
|
|
20 |
contact => { type => 'text' },
|
21 |
21 |
country => { type => 'varchar', length => 75 },
|
22 |
22 |
creditlimit => { type => 'numeric', precision => 15, scale => 5 },
|
23 |
23 |
currency_id => { type => 'integer', not_null => 1 },
|
... | ... | |
37 |
37 |
language => { type => 'varchar', length => 5 },
|
38 |
38 |
language_id => { type => 'integer' },
|
39 |
39 |
mtime => { type => 'timestamp' },
|
40 |
|
name => { type => 'varchar', length => 75, not_null => 1 },
|
|
40 |
name => { type => 'text', not_null => 1 },
|
41 |
41 |
notes => { type => 'text' },
|
42 |
42 |
obsolete => { type => 'boolean', default => 'false' },
|
43 |
43 |
payment_id => { type => 'integer' },
|
... | ... | |
50 |
50 |
terms => { type => 'integer', default => '0' },
|
51 |
51 |
user_password => { type => 'varchar', length => 12 },
|
52 |
52 |
username => { type => 'varchar', length => 50 },
|
53 |
|
ustid => { type => 'varchar', length => 14 },
|
|
53 |
ustid => { type => 'text' },
|
54 |
54 |
v_customer_id => { type => 'text' },
|
55 |
55 |
vendornumber => { type => 'text' },
|
56 |
56 |
zipcode => { type => 'varchar', length => 10 },
|
Lange Datenbankfelder bei bestimmten Lieferantenfeldern
Analog zu Commit 72ad92fd die Feldlänge bei bestimmten Datenbankfelder
erhöht (vorher varchar, jetzt text)
account_number bank_code ustid name contact