Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/PeriodicInvoicesConfig.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('periodic_invoices_configs'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
active => { type => 'boolean', default => 'true' }, |
|
13 |
ar_chart_id => { type => 'integer', not_null => 1 }, |
|
14 |
copies => { type => 'integer' }, |
|
15 |
end_date => { type => 'date' }, |
|
16 |
extend_automatically_by => { type => 'integer' }, |
|
12 | 17 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
13 | 18 |
oe_id => { type => 'integer', not_null => 1 }, |
14 | 19 |
periodicity => { type => 'varchar', length => 10, not_null => 1 }, |
15 | 20 |
print => { type => 'boolean', default => 'false' }, |
16 | 21 |
printer_id => { type => 'integer' }, |
17 |
copies => { type => 'integer' }, |
|
18 |
active => { type => 'boolean', default => 'true' }, |
|
19 |
terminated => { type => 'boolean', default => 'false' }, |
|
20 | 22 |
start_date => { type => 'date' }, |
21 |
end_date => { type => 'date' }, |
|
22 |
ar_chart_id => { type => 'integer', not_null => 1 }, |
|
23 |
extend_automatically_by => { type => 'integer' }, |
|
23 |
terminated => { type => 'boolean', default => 'false' }, |
|
24 | 24 |
); |
25 | 25 |
|
26 | 26 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
... | ... | |
42 | 42 |
}, |
43 | 43 |
); |
44 | 44 |
|
45 |
# __PACKAGE__->meta->initialize; |
|
46 |
|
|
47 | 45 |
1; |
48 | 46 |
; |
Auch abrufbar als: Unified diff
MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren