From 10a6fc58e6e8a40388ffda43f949f69f5ec804dc Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 26 Oct 2010 09:20:34 -0400 Subject: [PATCH] - Fix: don't return "empty" unlock --- SQL/sqlite.initial.sql | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql index 8565eae..ea7650c 100644 --- a/SQL/sqlite.initial.sql +++ b/SQL/sqlite.initial.sql @@ -1,4 +1,4 @@ --- RoundCube Webmail initial database structure +-- Roundcube Webmail initial database structure -- -- Table structure for table `cache` @@ -97,7 +97,7 @@ 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); -- -------------------------------------------------------- -- Gitblit v1.9.1