aboutsummaryrefslogtreecommitdiff
path: root/sql/pg.sql
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2021-12-14 09:54:00 +0300
committerAlexey Shchepin <alexey@process-one.net>2021-12-14 09:55:55 +0300
commit8b7da70b57096d5c88c4128877e8802a12057bd4 (patch)
tree18dbe9ff249e0bc3d603f7a026e60a4542196e2c /sql/pg.sql
parentUpdate stun and esip dependencies (diff)
Handle user removal in mod_muc
Diffstat (limited to '')
-rw-r--r--sql/pg.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/pg.sql b/sql/pg.sql
index 0e3d4c8b8..733856ede 100644
--- a/sql/pg.sql
+++ b/sql/pg.sql
@@ -320,6 +320,7 @@ CREATE TABLE muc_room_subscribers (
);
CREATE INDEX i_muc_room_subscribers_host_jid ON muc_room_subscribers USING btree (host, jid);
+CREATE INDEX i_muc_room_subscribers_jid ON muc_room_subscribers USING btree (jid);
CREATE UNIQUE INDEX i_muc_room_subscribers_host_room_jid ON muc_room_subscribers USING btree (host, room, jid);
CREATE TABLE motd (