Fix too small length of users.preferences column data type on MySQL

This commit is contained in:
Aleksander Machniak
2014-04-29 12:12:26 +02:00
parent d7428263e9
commit b6f7304d69
9 changed files with 11 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ CREATE TABLE `users` (
`created` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`last_login` datetime DEFAULT NULL,
`language` varchar(5),
`preferences` text,
`preferences` longtext,
PRIMARY KEY(`user_id`),
UNIQUE `username` (`username`, `mail_host`)
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
@@ -209,4 +209,4 @@ CREATE TABLE `system` (
/*!40014 SET FOREIGN_KEY_CHECKS=1 */;
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013061000');
INSERT INTO system (name, value) VALUES ('roundcube-version', '2014042900');