From 75855e0fce31ff32654daad2e70e0f2186f3e9b0 Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Sat, 16 May 2020 11:14:34 +0200
Subject: use unregister

---
 src/backenddb/drop0001.sql | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/backenddb/drop0001.sql')

diff --git a/src/backenddb/drop0001.sql b/src/backenddb/drop0001.sql
index caf85e66..81b76918 100644
--- a/src/backenddb/drop0001.sql
+++ b/src/backenddb/drop0001.sql
@@ -47,9 +47,8 @@ DROP TABLE IF EXISTS merchant_tips CASCADE;
 DROP TABLE IF EXISTS merchant_tip_pickups CASCADE;
 DROP TABLE IF EXISTS merchant_tip_pickup_signatures CASCADE;
 
--- Drop versioning (0000.sql)
--- FIXME: rename _mv to avoid conflicts with exchange versioning in tests!
-DROP SCHEMA IF EXISTS _mv CASCADE;
+-- Unregister patch (0001.sql)
+_v.unregister_patch('merchant-0001', NULL, NULL);
 
 -- And we're out of here...
 COMMIT;
-- 
cgit v1.2.3

