From afb1b5f90236de3adb68b5c1453da7b2599df69a Mon Sep 17 00:00:00 2001
From: Marco Boss <bossm8@bfh.ch>
Date: Tue, 1 Mar 2022 12:11:58 +0100
Subject: prepare sharding / partitioning init - create exchange-0001.sql with
 functions to create all tables and partitions / shards - create
 exchange-0002.sql for the master db

---
 src/exchangedb/drop0001.sql | 3 +++
 1 file changed, 3 insertions(+)

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

diff --git a/src/exchangedb/drop0001.sql b/src/exchangedb/drop0001.sql
index cab193db..8cc19191 100644
--- a/src/exchangedb/drop0001.sql
+++ b/src/exchangedb/drop0001.sql
@@ -72,4 +72,7 @@ DROP FUNCTION IF EXISTS exchange_do_recoup_to_reserve;
 -- FIXME: drop other stored functions!
 
 -- And we're out of here...
+
+SELECT _v.unregister_patch('exchange-0002');
+
 COMMIT;
-- 
cgit v1.2.3

