From be2c11a1797d8d16b86439a80a4f110f82bb5829 Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Sun, 27 Nov 2022 02:00:38 +0100
Subject: more sql refactoring

---
 src/exchangedb/0002-reserves_out.sql | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

(limited to 'src/exchangedb/0002-reserves_out.sql')

diff --git a/src/exchangedb/0002-reserves_out.sql b/src/exchangedb/0002-reserves_out.sql
index ea8cabbc4..e2aed9300 100644
--- a/src/exchangedb/0002-reserves_out.sql
+++ b/src/exchangedb/0002-reserves_out.sql
@@ -109,3 +109,22 @@ BEGIN
 
 END
 $$;
+
+
+INSERT INTO exchange_tables
+    (name
+    ,version
+    ,action
+    ,partitioned
+    ,by_range)
+  VALUES
+    ('reserves_out'
+    ,'exchange-0002'
+    ,'create'
+    ,TRUE
+    ,FALSE),
+    ('reserves_out_by_reserve' -- FIXME: do like this?
+    ,'exchange-0002'
+    ,'create'
+    ,TRUE
+    ,FALSE);
-- 
cgit v1.2.3

