From faf10e8fec3dcd4439a3a22cb2e3877c4b622b33 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 14 Aug 2011 15:02:33 -0400 Subject: [PATCH] Fix automatic db updates; trigger contact indexing after upgrade --- SQL/mysql.update.sql | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql index 4cb087e..ed21bda 100644 --- a/SQL/mysql.update.sql +++ b/SQL/mysql.update.sql @@ -134,7 +134,13 @@ TRUNCATE TABLE `messages`; -- Updates from version 0.5.1 +-- Updates from version 0.5.2 +-- Updates from version 0.5.3 +-- Updates from version 0.5.4 ALTER TABLE `contacts` ADD `words` TEXT NULL AFTER `vcard`; +ALTER TABLE `contacts` CHANGE `vcard` `vcard` LONGTEXT /*!40101 CHARACTER SET utf8 */ NULL DEFAULT NULL; ALTER TABLE `contactgroupmembers` ADD INDEX `contactgroupmembers_contact_index` (`contact_id`); - \ No newline at end of file + +TRUNCATE TABLE `messages`; +TRUNCATE TABLE `cache`; -- Gitblit v1.9.1