]> git.donarmstrong.com Git - roundcube.git/blobdiff - SQL/mysql.update.sql
Imported Upstream version 0.1~rc2
[roundcube.git] / SQL / mysql.update.sql
index b64f407c71a1570b02efd41a5c68b5e4001f3c4b..e904be278a688ab2ba8f36d2cf8ead11a7446476 100644 (file)
@@ -1,6 +1,8 @@
 -- RoundCube Webmail update script for MySQL databases
 -- Updates from version 0.1-beta and 0.1-beta2
 
+TRUNCATE TABLE `messages`;
+
 ALTER TABLE `messages`
   DROP `body`,
   DROP INDEX `cache_key`,
@@ -10,6 +12,8 @@ ALTER TABLE `messages`
 ALTER TABLE `identities`
   ADD `html_signature` tinyint(1) default 0 NOT NULL;
 
+ALTER TABLE `session` CHANGE `ip` `ip` VARCHAR(40) 
+  
 -- Uncomment these lines if you're using MySQL 4.1 or higher
 -- ALTER TABLE `users`
 --  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci,