Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a45417f3

Von Kivitendo Admin vor etwa 1 Jahr hinzugefügt

  • ID a45417f381c0aa7112adc6489049e23d23432df1
  • Vorgänger 7a29d8f7
  • Nachfolger 20af1c62

Warengruppen hierarchisch - DB

Unterschiede anzeigen:

SL/DB/MetaSetup/PartsGroup.pm
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
obsolete => { type => 'boolean', default => 'false' },
parent_id => { type => 'integer' },
partsgroup => { type => 'text' },
sortkey => { type => 'integer', not_null => 1 },
);
......
__PACKAGE__->meta->allow_inline_column_values(1);
__PACKAGE__->meta->foreign_keys(
parent => {
class => 'SL::DB::PartsGroup',
key_columns => { parent_id => 'id' },
},
);
1;
;

Auch abrufbar als: Unified diff