summaryrefslogtreecommitdiff
path: root/src/auditordb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-19 02:23:57 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:50:12 +0200
commitaf28c9b449b145fd365d416f8ba8cf6fdab6bfcf (patch)
tree1887fc33c47093671667453c1d990a8a15442b55 /src/auditordb
parent9ed9c018788dd7751dcc306a24615e76e65bec48 (diff)
downloadexchange-af28c9b449b145fd365d416f8ba8cf6fdab6bfcf.tar.gz
exchange-af28c9b449b145fd365d416f8ba8cf6fdab6bfcf.tar.bz2
exchange-af28c9b449b145fd365d416f8ba8cf6fdab6bfcf.zip
fix auditor drop
Diffstat (limited to 'src/auditordb')
-rw-r--r--src/auditordb/drop0001.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditordb/drop0001.sql b/src/auditordb/drop0001.sql
index 80f953e3..8e42c809 100644
--- a/src/auditordb/drop0001.sql
+++ b/src/auditordb/drop0001.sql
@@ -43,8 +43,8 @@ DROP TABLE IF EXISTS auditor_denominations CASCADE;
DROP TABLE IF EXISTS deposit_confirmations CASCADE;
DROP TABLE IF EXISTS auditor_exchanges CASCADE;
--- Drop versioning (0000.sql)
-DROP SCHEMA IF EXISTS _v CASCADE;
+-- Drop versioning (auditor-0001.sql)
+SELECT _v.unregister_patch('auditor-0001');
-- And we're out of here...
COMMIT;