Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/Status.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('status'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
trans_id => { type => 'integer' }, |
|
13 |
formname => { type => 'text' }, |
|
14 |
printed => { type => 'boolean', default => 'false' }, |
|
15 |
emailed => { type => 'boolean', default => 'false' }, |
|
16 |
spoolfile => { type => 'text' }, |
|
17 | 12 |
chart_id => { type => 'integer' }, |
13 |
emailed => { type => 'boolean', default => 'false' }, |
|
14 |
formname => { type => 'text' }, |
|
15 |
id => { type => 'serial', not_null => 1 }, |
|
18 | 16 |
itime => { type => 'timestamp', default => 'now()' }, |
19 | 17 |
mtime => { type => 'timestamp' }, |
20 |
id => { type => 'serial', not_null => 1 }, |
|
18 |
printed => { type => 'boolean', default => 'false' }, |
|
19 |
spoolfile => { type => 'text' }, |
|
20 |
trans_id => { type => 'integer' }, |
|
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