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/mysql.initial.sql | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql index fdab115..456a483 100644 --- a/SQL/mysql.initial.sql +++ b/SQL/mysql.initial.sql @@ -28,7 +28,7 @@ `language` varchar(5), `preferences` text, PRIMARY KEY(`user_id`), - INDEX `username_index` (`username`), + UNIQUE `username` (`username`, `mail_host`), INDEX `alias_index` (`alias`) ) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; -- Gitblit v1.9.1