summaryrefslogtreecommitdiff
path: root/SQL/mysql.update.sql
diff options
context:
space:
mode:
authorvbenincasa <vbenincasa@gmail.com>2009-09-17 12:50:54 +0000
committervbenincasa <vbenincasa@gmail.com>2009-09-17 12:50:54 +0000
commitb2b8b19cf55064d97438eee83a56fe20c257de59 (patch)
treebe80ca0c524406b616d39bac9bcbfead72d3b351 /SQL/mysql.update.sql
parentcbeea3d4d092f6ae2310175a57fe15b43d608b33 (diff)
- Change MySQL data type to avoid problems with big session vars
Diffstat (limited to 'SQL/mysql.update.sql')
-rw-r--r--SQL/mysql.update.sql5
1 files changed, 4 insertions, 1 deletions
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;