Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/TodoUserConfig.pm | ||
---|---|---|
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
employee_id => { type => 'integer', not_null => 1 }, |
13 |
id => { type => 'serial', not_null => 1 }, |
|
13 | 14 |
show_after_login => { type => 'boolean', default => 'true' }, |
14 | 15 |
show_follow_ups => { type => 'boolean', default => 'true' }, |
15 | 16 |
show_follow_ups_login => { type => 'boolean', default => 'true' }, |
16 | 17 |
show_overdue_sales_quotations => { type => 'boolean', default => 'true' }, |
17 | 18 |
show_overdue_sales_quotations_login => { type => 'boolean', default => 'true' }, |
18 |
id => { type => 'serial', not_null => 1 }, |
|
19 | 19 |
); |
20 | 20 |
|
21 | 21 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
... | ... | |
27 | 27 |
}, |
28 | 28 |
); |
29 | 29 |
|
30 |
# __PACKAGE__->meta->initialize; |
|
31 |
|
|
32 | 30 |
1; |
33 | 31 |
; |
Auch abrufbar als: Unified diff
MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren