Revision d0c938cf
Von Niclas Zimmermann vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/Exchangerate.pm | ||
---|---|---|
10 | 10 |
table => 'exchangerate', |
11 | 11 |
|
12 | 12 |
columns => [ |
13 |
curr => { type => 'text' },
|
|
14 |
transdate => { type => 'date' },
|
|
15 |
buy => { type => 'numeric', precision => 5, scale => 15 },
|
|
16 |
sell => { type => 'numeric', precision => 5, scale => 15 },
|
|
17 |
itime => { type => 'timestamp', default => 'now()' },
|
|
18 |
mtime => { type => 'timestamp' },
|
|
19 |
id => { type => 'serial', not_null => 1 },
|
|
13 |
transdate => { type => 'date' },
|
|
14 |
buy => { type => 'numeric', precision => 5, scale => 15 },
|
|
15 |
sell => { type => 'numeric', precision => 5, scale => 15 },
|
|
16 |
itime => { type => 'timestamp', default => 'now()' },
|
|
17 |
mtime => { type => 'timestamp' },
|
|
18 |
id => { type => 'serial', not_null => 1 },
|
|
19 |
currency_id => { type => 'integer', not_null => 1 },
|
|
20 | 20 |
], |
21 | 21 |
|
22 | 22 |
primary_key_columns => [ 'id' ], |
23 |
|
|
24 |
allow_inline_column_values => 1, |
|
25 | 23 |
); |
26 | 24 |
|
27 | 25 |
1; |
Auch abrufbar als: Unified diff
Neues DB-Setup für Währungen
Für RDBO-Code wird hier das MetaSetup der DB upgedated.