From cb11c83a90bf7434b91e0b1e2bfdd26242b95928 Mon Sep 17 00:00:00 2001
From: netbit <netbit@208e9e7b-5314-0410-a742-e7e81cd9613c>
Date: Thu, 17 Sep 2009 12:50:54 +0000
Subject: - Change MySQL data type to avoid problems with big session vars

git-svn-id: https://svn.roundcube.net/trunk@2961 208e9e7b-5314-0410-a742-e7e81cd9613c
---
 roundcubemail/SQL/mysql.update.sql | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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

diff --git a/roundcubemail/SQL/mysql.update.sql b/roundcubemail/SQL/mysql.update.sql
index 7091f30a0..729fd3c66 100644
--- a/roundcubemail/SQL/mysql.update.sql
+++ b/roundcubemail/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

