Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/GenericTranslation.pm | ||
---|---|---|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
id => { type => 'serial', not_null => 1 }, |
13 | 13 |
language_id => { type => 'integer' }, |
14 |
translation_type => { type => 'varchar', length => 100, not_null => 1 }, |
|
15 |
translation_id => { type => 'integer' }, |
|
16 | 14 |
translation => { type => 'text' }, |
15 |
translation_id => { type => 'integer' }, |
|
16 |
translation_type => { type => 'varchar', length => 100, not_null => 1 }, |
|
17 | 17 |
); |
18 | 18 |
|
19 | 19 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
... | ... | |
25 | 25 |
}, |
26 | 26 |
); |
27 | 27 |
|
28 |
# __PACKAGE__->meta->initialize; |
|
29 |
|
|
30 | 28 |
1; |
31 | 29 |
; |
Auch abrufbar als: Unified diff
MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren