From 3a5476d150419b46847dd922935f368c969519c1 Mon Sep 17 00:00:00 2001 From: alecpl 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 --- SQL/mysql.update.sql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'SQL/mysql.update.sql') diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql index f6c8d7869..d30f037c6 100644 --- a/SQL/mysql.update.sql +++ b/SQL/mysql.update.sql @@ -136,3 +136,5 @@ TRUNCATE TABLE `messages`; -- Updates from version 0.5.* ALTER TABLE `contacts` ADD `words` TEXT NULL AFTER `vcard`; +ALTER TABLE `contactgroupmembers` ADD INDEX `contactgroupmembers_contact_index` (`contact_id`); + \ No newline at end of file -- cgit v1.2.3