9 |
9 |
__PACKAGE__->meta->table('partsgroup');
|
10 |
10 |
|
11 |
11 |
__PACKAGE__->meta->columns(
|
12 |
|
id => { type => 'integer', not_null => 1, sequence => 'id' },
|
13 |
|
itime => { type => 'timestamp', default => 'now()' },
|
14 |
|
mtime => { type => 'timestamp' },
|
15 |
|
obsolete => { type => 'boolean', default => 'false' },
|
16 |
|
partsgroup => { type => 'text' },
|
17 |
|
sortkey => { type => 'integer', not_null => 1 },
|
|
12 |
description => { type => 'text' },
|
|
13 |
id => { type => 'integer', not_null => 1, sequence => 'id' },
|
|
14 |
itime => { type => 'timestamp', default => 'now()' },
|
|
15 |
mtime => { type => 'timestamp' },
|
|
16 |
obsolete => { type => 'boolean', default => 'false' },
|
|
17 |
partsgroup => { type => 'text' },
|
|
18 |
sortkey => { type => 'integer', not_null => 1 },
|
18 |
19 |
);
|
19 |
20 |
|
20 |
21 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
Warengruppe um Feld "Beschreibung" erweitert
Um z.B. zusätzliche Informationen zu hinterlegen, wenn man die Artikel
z.B. für einen Katalog exportieren möchte.