aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/common-0001.sql
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-07-25 20:18:08 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-07-25 20:18:08 +0200
commit6d2e6d80613e6f45d207f89bc25f6f507a131504 (patch)
treeff5b282025a1b58cec7ead1d91b3786776359f88 /src/exchangedb/common-0001.sql
parentde83b055d5c4bdbdebdc972e822ec9a4f5604bea (diff)
downloadexchange-6d2e6d80613e6f45d207f89bc25f6f507a131504.tar.xz
-move everything into schema
Diffstat (limited to 'src/exchangedb/common-0001.sql')
-rw-r--r--src/exchangedb/common-0001.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exchangedb/common-0001.sql b/src/exchangedb/common-0001.sql
index 5ae67edd1..6c4a60248 100644
--- a/src/exchangedb/common-0001.sql
+++ b/src/exchangedb/common-0001.sql
@@ -17,6 +17,13 @@
-- Everything in one big transaction
BEGIN;
+-------------------- Schema ----------------------------
+
+CREATE SCHEMA exchange;
+COMMENT ON SCHEMA exchange IS 'taler-exchange data';
+
+SET search_path TO exchange;
+
-------------------- Tables ----------------------------
CREATE OR REPLACE FUNCTION create_partitioned_table(