From 09b0e36b3f453a410b3389b6d95a29605d13bfca Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 27 Apr 2011 13:10:07 -0400 Subject: [PATCH] Change vcard field to LONGTEXT to completely store vcards with embedded photos --- SQL/mysql.update.sql | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql index aaab43f..47c8bb3 100644 --- a/SQL/mysql.update.sql +++ b/SQL/mysql.update.sql @@ -133,3 +133,8 @@ TRUNCATE TABLE `messages`; +-- Updates from version 0.5.1 + +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`); -- Gitblit v1.9.1