From 043a124397ee9db4f5a5131465cf86403e0cafeb Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 23 Feb 2011 08:13:02 +0000 Subject: - Add index on contactgroupmembers.contact_id column. Improves performance and fixes problem with contactgroupmembers table creation on MySQL 4.x git-svn-id: https://svn.roundcube.net/trunk@4567 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/SQL/mssql.upgrade.sql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roundcubemail/SQL/mssql.upgrade.sql') diff --git a/roundcubemail/SQL/mssql.upgrade.sql b/roundcubemail/SQL/mssql.upgrade.sql index 3d067924c..8534afdd3 100644 --- a/roundcubemail/SQL/mssql.upgrade.sql +++ b/roundcubemail/SQL/mssql.upgrade.sql @@ -101,3 +101,5 @@ GO ALTER TABLE [dbo].[contacts] ADD [words] [text] COLLATE Latin1_General_CI_AI NULL GO +CREATE INDEX [IX_contactgroupmembers_contact_id] ON [dbo].[contactgroupmembers]([contact_id]) ON [PRIMARY] +GO -- cgit v1.2.3