aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/drop0001.sql
diff options
context:
space:
mode:
authorMarco Boss <bossm8@bfh.ch>2022-03-01 12:11:58 +0100
committerMarco Boss <bossm8@bfh.ch>2022-03-01 12:11:58 +0100
commitafb1b5f90236de3adb68b5c1453da7b2599df69a (patch)
tree2e2e6ba43566aa1032f86629e96402f0d52e5d99 /src/exchangedb/drop0001.sql
parente24a6369aae5c2ab6ccec4ecdd269a280078f790 (diff)
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
Diffstat (limited to 'src/exchangedb/drop0001.sql')
-rw-r--r--src/exchangedb/drop0001.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exchangedb/drop0001.sql b/src/exchangedb/drop0001.sql
index cab193dbe..8cc19191f 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;