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