aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0002-contracts.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-27 02:00:38 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-27 02:00:38 +0100
commitbe2c11a1797d8d16b86439a80a4f110f82bb5829 (patch)
treef0a950be0f80ced5ab68b6f65d11edb5dc09a3b5 /src/exchangedb/0002-contracts.sql
parent9580dd19c23e5591cc022dce717eca7bc745c5b0 (diff)
more sql refactoring
Diffstat (limited to 'src/exchangedb/0002-contracts.sql')
-rw-r--r--src/exchangedb/0002-contracts.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/exchangedb/0002-contracts.sql b/src/exchangedb/0002-contracts.sql
index d51ced57b..224430c95 100644
--- a/src/exchangedb/0002-contracts.sql
+++ b/src/exchangedb/0002-contracts.sql
@@ -57,3 +57,17 @@ BEGIN
);
END
$$;
+
+
+INSERT INTO exchange_tables
+ (name
+ ,version
+ ,action
+ ,partitioned
+ ,by_range)
+ VALUES
+ ('contracts'
+ ,'exchange-0002'
+ ,'create'
+ ,TRUE
+ ,FALSE);