summaryrefslogtreecommitdiff
path: root/SQL/mysql.update.sql
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-04-27 17:10:07 +0000
committerthomascube <thomas@roundcube.net>2011-04-27 17:10:07 +0000
commit09b0e36b3f453a410b3389b6d95a29605d13bfca (patch)
treea351e8d2a740b9de881ce0b5d406ebb11e4185f1 /SQL/mysql.update.sql
parent4ae996cc3d8dfa20e018287e8fe276108ae0d1f9 (diff)
Change vcard field to LONGTEXT to completely store vcards with embedded photos
Diffstat (limited to 'SQL/mysql.update.sql')
-rw-r--r--SQL/mysql.update.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index 4cb087edd..47c8bb379 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -136,5 +136,5 @@ 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`);
- \ No newline at end of file