Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/PartsGroup.pm | ||
---|---|---|
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
13 |
partsgroup => { type => 'text' }, |
|
14 | 13 |
itime => { type => 'timestamp', default => 'now()' }, |
15 | 14 |
mtime => { type => 'timestamp' }, |
15 |
partsgroup => { type => 'text' }, |
|
16 | 16 |
); |
17 | 17 |
|
18 | 18 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
19 | 19 |
|
20 | 20 |
__PACKAGE__->meta->allow_inline_column_values(1); |
21 | 21 |
|
22 |
# __PACKAGE__->meta->initialize; |
|
23 |
|
|
24 | 22 |
1; |
25 | 23 |
; |
Auch abrufbar als: Unified diff
MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren