summaryrefslogtreecommitdiff
path: root/src/mintdb/plugin_mintdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-12 15:36:06 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-12 15:36:06 +0200
commit891a0043856609098e1b451fac88b2b0fd0b4ae2 (patch)
tree96d44bb53d8c8197a9307fe1cebdcd47caf7a0c2 /src/mintdb/plugin_mintdb_postgres.c
parent563b30bbfb6869679f74bdd731367210d19e3c47 (diff)
parent938caa47eb31eec04657c50242dfbde05b044912 (diff)
downloadexchange-891a0043856609098e1b451fac88b2b0fd0b4ae2.tar.gz
exchange-891a0043856609098e1b451fac88b2b0fd0b4ae2.tar.bz2
exchange-891a0043856609098e1b451fac88b2b0fd0b4ae2.zip
Merge branch 'master' of ssh://taler.net:/var/git/mint
Diffstat (limited to 'src/mintdb/plugin_mintdb_postgres.c')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c4
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 */