From 8b7da70b57096d5c88c4128877e8802a12057bd4 Mon Sep 17 00:00:00 2001
From: Alexey Shchepin <alexey@process-one.net>
Date: Tue, 14 Dec 2021 09:54:00 +0300
Subject: Handle user removal in mod_muc

---
 sql/lite.new.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sql/lite.new.sql')

diff --git a/sql/lite.new.sql b/sql/lite.new.sql
index 96c88035..cb8add8a 100644
--- a/sql/lite.new.sql
+++ b/sql/lite.new.sql
@@ -330,6 +330,7 @@ CREATE TABLE muc_room_subscribers (
 );
 
 CREATE INDEX i_muc_room_subscribers_host_jid ON muc_room_subscribers(host, jid);
+CREATE INDEX i_muc_room_subscribers_jid ON muc_room_subscribers(jid);
 CREATE UNIQUE INDEX i_muc_room_subscribers_host_room_jid ON muc_room_subscribers(host, room, jid);
 
 CREATE TABLE motd (
-- 
cgit v1.2.3

