1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-06 03:50:15 +02:00

Add missing indexes to sql sr_group tables

This commit is contained in:
Paweł Chmielowski 2021-05-18 18:29:32 +02:00
parent 16af8a4739
commit 95fa43aa96
6 changed files with 15 additions and 0 deletions

View file

@ -65,6 +65,8 @@ CREATE TABLE sr_group (
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE UNIQUE INDEX i_sr_group_name ON sr_group (name);
CREATE TABLE sr_user (
jid text NOT NULL,
grp text NOT NULL,