From b2b8b19cf55064d97438eee83a56fe20c257de59 Mon Sep 17 00:00:00 2001
From: vbenincasa <vbenincasa@gmail.com>
Date: Thu, 17 Sep 2009 12:50:54 +0000
Subject: - Change MySQL data type to avoid problems with big session vars

---
 SQL/mysql.update.sql | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'SQL/mysql.update.sql')

diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index 7091f30a0..729fd3c66 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -1,5 +1,5 @@
 -- RoundCube Webmail update script for MySQL databases
--- Updates from version 0.1-stable to 0.1.1
+-- Updates from version 0.1-stable to 0.3.1
 
 TRUNCATE TABLE `messages`;
 
@@ -51,3 +51,6 @@ ALTER TABLE `messages`
     ADD INDEX `index_index` (`user_id`, `cache_key`, `idx`);
 
 TRUNCATE `messages`;
+
+ALTER TABLE `session` 
+    CHANGE `vars` `vars` MEDIUMTEXT NOT NULL;
-- 
cgit v1.2.3

