From d41d67add6d2bc226544148730928ca31a2c4313 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 07 Apr 2008 13:58:20 -0400 Subject: [PATCH] - better commands enabling/disabling after get/post response, fixes: when delete last (selected) message in mailbox content in preview pane should be cleaned, when delete last (selected) message in mailbox sellect-all, purge and others commands should be disabled, and probably other related bugs --- SQL/mysql5.initial.sql | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/SQL/mysql5.initial.sql b/SQL/mysql5.initial.sql index 58e220f..881344b 100644 --- a/SQL/mysql5.initial.sql +++ b/SQL/mysql5.initial.sql @@ -29,7 +29,9 @@ `last_login` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `language` varchar(5) NOT NULL DEFAULT 'en', `preferences` text, - PRIMARY KEY(`user_id`) + PRIMARY KEY(`user_id`), + INDEX `username_index` (`username`), + INDEX `alias_index` (`alias`) ) TYPE=INNODB CHARACTER SET utf8 COLLATE utf8_general_ci; -- Gitblit v1.9.1