summaryrefslogtreecommitdiff
path: root/SQL/mysql.initial.sql
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-29 12:12:26 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-29 12:12:26 +0200
commitb6f7304d69918e31dd701d4c041169aa05934aee (patch)
treeff1d2df4b811abe19d9cc0e313ce0a67fd29b771 /SQL/mysql.initial.sql
parentd7428263e9282f189fc902dc3bc8e9d37ea83284 (diff)
Fix too small length of users.preferences column data type on MySQL
Diffstat (limited to 'SQL/mysql.initial.sql')
-rw-r--r--SQL/mysql.initial.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql
index 4e4833a62..f174dc55f 100644
--- a/SQL/mysql.initial.sql
+++ b/SQL/mysql.initial.sql
@@ -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');