increase decimals in table
This commit is contained in:
parent
236fb39f28
commit
0bd0d7c862
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class DWHRateWriter(RateWriter):
|
|||
CREATE TABLE IF NOT EXISTS {}.{} (
|
||||
from_currency CHAR(3) NOT NULL,
|
||||
to_currency CHAR(3) NOT NULL,
|
||||
rate DECIMAL(19, 4) NOT NULL,
|
||||
rate DECIMAL(23, 8) NOT NULL,
|
||||
rate_date_utc DATE NOT NULL,
|
||||
exported_at_utc TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (from_currency, to_currency, rate_date_utc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue