diff --git a/xexe/rate_writing.py b/xexe/rate_writing.py index 29f57a3..722c0bb 100644 --- a/xexe/rate_writing.py +++ b/xexe/rate_writing.py @@ -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)