aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-05-28 18:06:44 +0200
committerChristian Grothoff <christian@grothoff.org>2017-05-28 18:06:44 +0200
commit5d58316d884e660ff9a83a6e7a4bd34ae4c8e734 (patch)
treef54c210945929ef75e0933c88c8f3e604db6a45a
parent3a889eb7e5eb749450e3e0c6cabf5154860cf7a4 (diff)
add missing drop, should fix #5007
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index d2a772aae..1a5a8dddd 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -294,6 +294,8 @@ postgres_drop_tables (void *cls)
SQLEXEC_ (conn,
"DROP TABLE IF EXISTS known_coins CASCADE;");
SQLEXEC_ (conn,
+ "DROP TABLE IF EXISTS reserves_close CASCADE;");
+ SQLEXEC_ (conn,
"DROP TABLE IF EXISTS reserves_out CASCADE;");
SQLEXEC_ (conn,
"DROP TABLE IF EXISTS reserves_in CASCADE;");