diff options
author | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-08-12 10:07:57 +0200 |
---|---|---|
committer | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-08-12 10:07:57 +0200 |
commit | 58e3f8becefb5118b49dea9f3fb9d24b0aa98d8e (patch) | |
tree | ce3d0c81a183086edfc7745779c6bafcfaa3154a /src | |
parent | 09350380878fa3637378e77631c7f05e731f59f8 (diff) |
fixed 0003936
Diffstat (limited to 'src')
-rw-r--r-- | src/mintdb/plugin_mintdb_postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index 658d8dd90..c945e92df 100644 --- a/src/mintdb/plugin_mintdb_postgres.c +++ b/src/mintdb/plugin_mintdb_postgres.c @@ -363,10 +363,10 @@ postgres_create_tables (void *cls, ",oldcoin_index INT2 NOT NULL" ",coin_sig BYTEA NOT NULL CHECK(LENGTH(coin_sig)=64)" ",amount_with_fee_val INT8 NOT NULL" - ",amount_with_fee_frac INT8 NOT NULL" + ",amount_with_fee_frac INT4 NOT NULL" ",amount_with_fee_curr VARCHAR("TALER_CURRENCY_LEN_STR") NOT NULL" ",melt_fee_val INT8 NOT NULL" - ",melt_fee_frac INT8 NOT NULL" + ",melt_fee_frac INT4 NOT NULL" ",melt_fee_curr VARCHAR("TALER_CURRENCY_LEN_STR") NOT NULL" ",PRIMARY KEY (session_hash, oldcoin_index)" /* a coin can be used only once in a refresh session */ |