diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-03-28 20:33:57 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-03-28 20:33:57 +0300 |
commit | e5815553cbaa0a2ca829a6b7fdb799ee820fa967 (patch) | |
tree | 7ff3b0408ba05f9c14cd842578aa81f27b1de8cf /sql/pg.sql | |
parent | Add Redis as router RAM backend (diff) |
Add SQL as mod_bosh RAM backend
Diffstat (limited to 'sql/pg.sql')
-rw-r--r-- | sql/pg.sql | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -350,3 +350,11 @@ CREATE TABLE route ( CREATE UNIQUE INDEX i_route ON route USING btree (domain, server_host, node, pid); CREATE INDEX i_route_domain ON route USING btree (domain); + +CREATE TABLE bosh ( + sid text NOT NULL, + node text NOT NULL, + pid text NOT NULL +); + +CREATE UNIQUE INDEX i_bosh_sid ON bosh USING btree (sid); |