Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 10b50bbf

Von Kivitendo Admin vor 4 Monaten hinzugefügt

  • ID 10b50bbf1317a55193f4cb88268a5a564a2f429a
  • Vorgänger c550bc01
  • Nachfolger 0192020f

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