From de6225f820a6e1627786874d8df9df99b5f5e4bc Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Sat, 16 May 2020 11:27:04 +0200
Subject: fix sql

---
 src/backenddb/drop0001.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/src/backenddb/drop0001.sql b/src/backenddb/drop0001.sql
index 81b76918..f0bfeb74 100644
--- a/src/backenddb/drop0001.sql
+++ b/src/backenddb/drop0001.sql
@@ -48,7 +48,7 @@ DROP TABLE IF EXISTS merchant_tip_pickups CASCADE;
 DROP TABLE IF EXISTS merchant_tip_pickup_signatures CASCADE;
 
 -- Unregister patch (0001.sql)
-_v.unregister_patch('merchant-0001', NULL, NULL);
+SELECT _v.unregister_patch('merchant-0001');
 
 -- And we're out of here...
 COMMIT;
-- 
cgit v1.2.3

