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/0003-purse_actions.sql | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'src/exchangedb/0003-purse_actions.sql')

diff --git a/src/exchangedb/0003-purse_actions.sql b/src/exchangedb/0003-purse_actions.sql
index df8eecea7..c77dfb3c5 100644
--- a/src/exchangedb/0003-purse_actions.sql
+++ b/src/exchangedb/0003-purse_actions.sql
@@ -58,3 +58,17 @@ CREATE TRIGGER purse_requests_on_insert
 COMMENT ON TRIGGER purse_requests_on_insert
         ON purse_requests
   IS 'Here we install an entry for the purse expiration.';
+
+
+INSERT INTO exchange_tables
+    (name
+    ,version
+    ,action
+    ,partitioned
+    ,by_range)
+  VALUES
+    ('purse_actions'
+    ,'exchange-0002'
+    ,'create'
+    ,FALSE
+    ,FALSE);
-- 
cgit v1.2.3

