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:
parent
16af8a4739
commit
95fa43aa96
6 changed files with 15 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue