aboutsummaryrefslogtreecommitdiff
path: root/sql/mysql.new.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/mysql.new.sql')
-rw-r--r--sql/mysql.new.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysql.new.sql b/sql/mysql.new.sql
index c6d74bb91..01aeffbc5 100644
--- a/sql/mysql.new.sql
+++ b/sql/mysql.new.sql
@@ -86,7 +86,7 @@ CREATE TABLE sr_user (
PRIMARY KEY (server_host(191), jid, grp)
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
-CREATE UNIQUE INDEX i_sr_user_sh_jid_group ON sr_group(server_host(191), jid, grp);
+CREATE UNIQUE INDEX i_sr_user_sh_jid_group ON sr_user(server_host(191), jid, grp);
CREATE INDEX i_sr_user_sh_jid ON sr_user(server_host(191), jid);
CREATE INDEX i_sr_user_sh_grp ON sr_user(server_host(191), grp);