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-07-05 16:44:09 +0200
commit142f6edaffcc67aef11bbb407665d7fba2bd7490 (patch)
tree5b3c27217316ba8737bcfc54fe2870fc3993161a /src/exchangedb
parent4119dbd1aab1ad6f63cc48d4a7e396834e60d62b (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 f0f46a611..7ffa7554c 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;