mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-03 06:44:03 +01:00
- Add unique index on users.username+users.mail_host
This commit is contained in:
@@ -97,7 +97,7 @@ CREATE TABLE users (
|
||||
preferences text NOT NULL default ''
|
||||
);
|
||||
|
||||
CREATE INDEX ix_users_username ON users(username);
|
||||
CREATE UNIQUE INDEX ix_users_username ON users(username, mail_host);
|
||||
CREATE INDEX ix_users_alias ON users(alias);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user