From ccced3c4d2a004fdfdcd708eb3d37bcfd9fbb28d Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 11 Sep 2007 20:51:11 +0000 Subject: Truncate cache table before adding index git-svn-id: https://svn.roundcube.net/trunk@796 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/SQL/mysql.update.sql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roundcubemail/SQL') diff --git a/roundcubemail/SQL/mysql.update.sql b/roundcubemail/SQL/mysql.update.sql index b64f407c7..27d45ebad 100644 --- a/roundcubemail/SQL/mysql.update.sql +++ b/roundcubemail/SQL/mysql.update.sql @@ -1,6 +1,8 @@ -- RoundCube Webmail update script for MySQL databases -- Updates from version 0.1-beta and 0.1-beta2 +TRUNCATE TABLE `messages`; + ALTER TABLE `messages` DROP `body`, DROP INDEX `cache_key`, -- cgit v1.2.3