summaryrefslogtreecommitdiff
path: root/SQL/sqlite.initial.sql
diff options
context:
space:
mode:
Diffstat (limited to 'SQL/sqlite.initial.sql')
-rw-r--r--SQL/sqlite.initial.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql
index e7faeedea..ea7650cb7 100644
--- a/SQL/sqlite.initial.sql
+++ b/SQL/sqlite.initial.sql
@@ -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);
-- --------------------------------------------------------