From b578abb9f94fa1d7dc8ce2ee94e35fa074d51ce4 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 19 Sep 2011 02:43:57 -0400
Subject: [PATCH] - Applied fixes from trunk up to r5232

---
 SQL/mysql.update.sql |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index d30f037..ed21bda 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -133,8 +133,14 @@
 
 TRUNCATE TABLE `messages`;
 
--- Updates from version 0.5.*
+-- 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