diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-09-29 07:59:25 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-09-29 07:59:25 +0000 |
| commit | 2e9996a7bba5f2d468010ee578eb19ca86049096 (patch) | |
| tree | d91d11786e77997705ec21dc8e25ddcbc964e5bc /roundcubemail/SQL/postgres.update.sql | |
| parent | bd63b0395f9dedb35dd18378201d75bb3a09716f (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.update.sql')
| -rw-r--r-- | roundcubemail/SQL/postgres.update.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/SQL/postgres.update.sql b/roundcubemail/SQL/postgres.update.sql index fe88a6dcc..e343dd440 100644 --- a/roundcubemail/SQL/postgres.update.sql +++ b/roundcubemail/SQL/postgres.update.sql @@ -41,3 +41,5 @@ ALTER TABLE messages ALTER del TYPE smallint; CREATE INDEX messages_index_idx ON messages (user_id, cache_key, idx); TRUNCATE messages; +DROP INDEX contacts_user_id_idx; +CREATE INDEX contacts_user_id_idx ON contacts (user_id, email); |
