Revision d7077fec
Von Kivitendo Admin vor 6 Monaten hinzugefügt
| SL/DB/MetaSetup/PartsGroup.pm | ||
|---|---|---|
|
__PACKAGE__->meta->table('partsgroup');
|
||
|
|
||
|
__PACKAGE__->meta->columns(
|
||
|
id => { type => 'integer', not_null => 1, sequence => 'id' },
|
||
|
itime => { type => 'timestamp', default => 'now()' },
|
||
|
mtime => { type => 'timestamp' },
|
||
|
obsolete => { type => 'boolean', default => 'false' },
|
||
|
partsgroup => { type => 'text' },
|
||
|
sortkey => { type => 'integer', not_null => 1 },
|
||
|
description => { type => 'text' },
|
||
|
id => { type => 'integer', not_null => 1, sequence => 'id' },
|
||
|
itime => { type => 'timestamp', default => 'now()' },
|
||
|
mtime => { type => 'timestamp' },
|
||
|
obsolete => { type => 'boolean', default => 'false' },
|
||
|
partsgroup => { type => 'text' },
|
||
|
sortkey => { type => 'integer', not_null => 1 },
|
||
|
);
|
||
|
|
||
|
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||
Auch abrufbar als: Unified diff
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.