summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL/postgres.initial.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/postgres.initial.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/postgres.initial.sql')
-rw-r--r--roundcubemail/SQL/postgres.initial.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/SQL/postgres.initial.sql b/roundcubemail/SQL/postgres.initial.sql
index f07ca3029..a52a01f91 100644
--- a/roundcubemail/SQL/postgres.initial.sql
+++ b/roundcubemail/SQL/postgres.initial.sql
@@ -110,7 +110,7 @@ CREATE TABLE contacts (
vcard text
);
-CREATE INDEX contacts_user_id_idx ON contacts (user_id);
+CREATE INDEX contacts_user_id_idx ON contacts (user_id, email);
--
-- Sequence "cache_ids"