summaryrefslogtreecommitdiff
path: root/sql/lite.sql
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-03-31 08:16:28 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-03-31 08:16:28 +0300
commitf449df161ad1dc4ac613377108b21e781ffc4cbd (patch)
treef3543cc4b598d0e9d82c902f00dfef1ba2aea0a3 /sql/lite.sql
parentRaise bad_node instead of node_down for consistency reason (diff)
Add SQL as mod_proxy65 RAM backend
Diffstat (limited to 'sql/lite.sql')
-rw-r--r--sql/lite.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/lite.sql b/sql/lite.sql
index ddfb91ff..1d057407 100644
--- a/sql/lite.sql
+++ b/sql/lite.sql
@@ -369,3 +369,15 @@ CREATE TABLE carboncopy (
CREATE UNIQUE INDEX i_carboncopy_ur ON carboncopy (username, resource);
CREATE INDEX i_carboncopy_user ON carboncopy (username);
+
+CREATE TABLE proxy65 (
+ sid text NOT NULL,
+ pid_t text NOT NULL,
+ pid_i text NOT NULL,
+ node_t text NOT NULL,
+ node_i text NOT NULL,
+ jid_i text NOT NULL
+);
+
+CREATE UNIQUE INDEX i_proxy65_sid ON proxy65 (sid);
+CREATE INDEX i_proxy65_jid ON proxy65 (jid_i);