Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/Dunning.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('dunning'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
id => { type => 'integer', not_null => 1, sequence => 'id' },
|
|
13 |
trans_id => { type => 'integer' },
|
|
12 |
duedate => { type => 'date' },
|
|
13 |
dunning_config_id => { type => 'integer' },
|
|
14 | 14 |
dunning_id => { type => 'integer' }, |
15 | 15 |
dunning_level => { type => 'integer' }, |
16 |
transdate => { type => 'date' }, |
|
17 |
duedate => { type => 'date' }, |
|
18 | 16 |
fee => { type => 'numeric', precision => 5, scale => 15 }, |
17 |
fee_interest_ar_id => { type => 'integer' }, |
|
18 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
19 | 19 |
interest => { type => 'numeric', precision => 5, scale => 15 }, |
20 |
dunning_config_id => { type => 'integer' }, |
|
21 | 20 |
itime => { type => 'timestamp', default => 'now()' }, |
22 | 21 |
mtime => { type => 'timestamp' }, |
23 |
fee_interest_ar_id => { type => 'integer' }, |
|
22 |
trans_id => { type => 'integer' }, |
|
23 |
transdate => { type => 'date' }, |
|
24 | 24 |
); |
25 | 25 |
|
26 | 26 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
... | ... | |
39 | 39 |
}, |
40 | 40 |
); |
41 | 41 |
|
42 |
# __PACKAGE__->meta->initialize; |
|
43 |
|
|
44 | 42 |
1; |
45 | 43 |
; |
Auch abrufbar als: Unified diff
MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren