summaryrefslogtreecommitdiff
path: root/src/exchangedb/drop0001.sql
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/drop0001.sql
parent4119dbd1aab1ad6f63cc48d4a7e396834e60d62b (diff)
downloadexchange-142f6edaffcc67aef11bbb407665d7fba2bd7490.tar.gz
exchange-142f6edaffcc67aef11bbb407665d7fba2bd7490.tar.bz2
exchange-142f6edaffcc67aef11bbb407665d7fba2bd7490.zip
use unregister
Diffstat (limited to 'src/exchangedb/drop0001.sql')
-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;