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