aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-16 11:14:44 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-19 01:16:34 +0200
commit3355509eda1dc34885401ff6b58b91985b2d05b3 (patch)
tree3d161a1c3e5b11c881b5213273195f5ed7c229e1 /src/exchangedb
parent9e057983308ae23b2045a34957aec52b3a447296 (diff)
use unregister
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/drop0001.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/drop0001.sql b/src/exchangedb/drop0001.sql
index f0f46a61..7ffa7554 100644
--- a/src/exchangedb/drop0001.sql
+++ b/src/exchangedb/drop0001.sql
@@ -43,8 +43,8 @@ DROP TABLE IF EXISTS reserves CASCADE;
DROP TABLE IF EXISTS denomination_revocations CASCADE;
DROP TABLE IF EXISTS denominations CASCADE;
--- Drop versioning (0000.sql)
-DROP SCHEMA IF EXISTS _v CASCADE;
+-- Unregister patch (0001.sql)
+SELECT _v.unregister_patch('exchange-0001', NULL, NULL);
-- And we're out of here...
COMMIT;