X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=SQL%2Fmysql.update.sql;fp=SQL%2Fmysql.update.sql;h=e904be278a688ab2ba8f36d2cf8ead11a7446476;hb=ade1655456ffdb799be8081f57ec90a408b99dd9;hp=b64f407c71a1570b02efd41a5c68b5e4001f3c4b;hpb=38bb9fc2d3bc5c90338eb7f375f42273b088adcd;p=roundcube.git diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql index b64f407..e904be2 100644 --- a/SQL/mysql.update.sql +++ b/SQL/mysql.update.sql @@ -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,