mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-07 00:26:48 +01:00
- Add unique index on users.username+users.mail_host
This commit is contained in:
@@ -140,3 +140,9 @@ INSERT INTO users (user_id, username, mail_host, alias, created, last_login, lan
|
||||
CREATE INDEX ix_users_username ON users(username);
|
||||
CREATE INDEX ix_users_alias ON users(alias);
|
||||
DROP TABLE tmp_users;
|
||||
|
||||
-- Updates from version 0.4.2
|
||||
|
||||
DROP INDEX ix_users_username;
|
||||
CREATE UNIQUE INDEX ix_users_username ON users(username, mail_host);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user