]> git.donarmstrong.com Git - roundcube.git/blob - SQL/mysql.update.sql
Imported Upstream version 0.1~rc1~dfsg
[roundcube.git] / SQL / mysql.update.sql
1 -- RoundCube Webmail update script for MySQL databases
2 -- Updates from version 0.1-beta and 0.1-beta2
3
4 ALTER TABLE `messages`
5   DROP `body`,
6   DROP INDEX `cache_key`,
7   ADD `structure` TEXT,
8   ADD UNIQUE `uniqueness` (`user_id`, `cache_key`, `uid`);
9
10 ALTER TABLE `identities`
11   ADD `html_signature` tinyint(1) default 0 NOT NULL;
12
13 -- Uncomment these lines if you're using MySQL 4.1 or higher
14 -- ALTER TABLE `users`
15 --  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci,
16 --  CHANGE `username` `username` VARCHAR( 128 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
17 --  CHANGE `alias` `alias` VARCHAR( 128 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;