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