summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL/mysql.update.sql
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-29 07:59:25 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-29 07:59:25 +0000
commit2e9996a7bba5f2d468010ee578eb19ca86049096 (patch)
treed91d11786e77997705ec21dc8e25ddcbc964e5bc /roundcubemail/SQL/mysql.update.sql
parentbd63b0395f9dedb35dd18378201d75bb3a09716f (diff)
- use better index for contacts table
git-svn-id: https://svn.roundcube.net/trunk@2999 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/mysql.update.sql')
-rw-r--r--roundcubemail/SQL/mysql.update.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/SQL/mysql.update.sql b/roundcubemail/SQL/mysql.update.sql
index 729fd3c66..77bf317e9 100644
--- a/roundcubemail/SQL/mysql.update.sql
+++ b/roundcubemail/SQL/mysql.update.sql
@@ -54,3 +54,6 @@ TRUNCATE `messages`;
ALTER TABLE `session`
CHANGE `vars` `vars` MEDIUMTEXT NOT NULL;
+
+ALTER TABLE `contacts`
+ ADD INDEX `user_contacts_index` (`user_id`,`email`);