summaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-06 13:38:20 +0200
committerChristian Grothoff <christian@grothoff.org>2016-05-06 13:38:20 +0200
commitc334ba61f4b371755cc3e4e5afd22fc4054c0836 (patch)
treeccaab30c8d59383e06773bc9789df2b6973745bc /src/exchangedb
parentfb2ef1d5d90cb83f49d4a2756fe39359449fb823 (diff)
downloadexchange-c334ba61f4b371755cc3e4e5afd22fc4054c0836.tar.gz
exchange-c334ba61f4b371755cc3e4e5afd22fc4054c0836.tar.bz2
exchange-c334ba61f4b371755cc3e4e5afd22fc4054c0836.zip
drop refunds table as well
Diffstat (limited to 'src/exchangedb')
-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 b311fba24..93680563c 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -156,6 +156,8 @@ postgres_drop_tables (void *cls,
SQLEXEC_ (session->conn,
"DROP TABLE IF EXISTS refresh_commit_link;");
SQLEXEC_ (session->conn,
+ "DROP TABLE IF EXISTS refunds;");
+ SQLEXEC_ (session->conn,
"DROP TABLE IF EXISTS refresh_order;");
SQLEXEC_ (session->conn,
"DROP TABLE IF EXISTS refresh_melts;");