diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-29 12:12:26 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-29 12:12:26 +0200 |
commit | b6f7304d69918e31dd701d4c041169aa05934aee (patch) | |
tree | ff1d2df4b811abe19d9cc0e313ce0a67fd29b771 | |
parent | d7428263e9282f189fc902dc3bc8e9d37ea83284 (diff) |
Fix too small length of users.preferences column data type on MySQL
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | SQL/mssql.initial.sql | 2 | ||||
-rw-r--r-- | SQL/mssql/2014042900.sql | 1 | ||||
-rw-r--r-- | SQL/mysql.initial.sql | 4 | ||||
-rw-r--r-- | SQL/mysql/2014042900.sql | 1 | ||||
-rw-r--r-- | SQL/postgres.initial.sql | 2 | ||||
-rw-r--r-- | SQL/postgres/2014042900.sql | 1 | ||||
-rw-r--r-- | SQL/sqlite.initial.sql | 2 | ||||
-rw-r--r-- | SQL/sqlite/2014042900.sql | 1 |
9 files changed, 11 insertions, 6 deletions
@@ -30,7 +30,8 @@ CHANGELOG Roundcube Webmail - Avoid popupmenus being closed when scrollbar is clicked (#1489832) - Add proxy_whitelist configuration option (#1489729) - Fix identities_level=4 handling in new_user_dialog plugin (#1489840) -- Fix varius db_prefix issues (#1489839) +- Fix various db_prefix issues (#1489839) +- Fix too small length of users.preferences column data type on MySQL RELEASE 1.0.0 ------------- diff --git a/SQL/mssql.initial.sql b/SQL/mssql.initial.sql index 9d0521c36..a6132b15c 100644 --- a/SQL/mssql.initial.sql +++ b/SQL/mssql.initial.sql @@ -393,6 +393,6 @@ CREATE TRIGGER [contact_delete_member] ON [dbo].[contacts] WHERE [contact_id] IN (SELECT [contact_id] FROM deleted)
GO
-INSERT INTO [dbo].[system] ([name], [value]) VALUES ('roundcube-version', '2013061000')
+INSERT INTO [dbo].[system] ([name], [value]) VALUES ('roundcube-version', '2014042900')
GO
\ No newline at end of file diff --git a/SQL/mssql/2014042900.sql b/SQL/mssql/2014042900.sql new file mode 100644 index 000000000..fe6741a02 --- /dev/null +++ b/SQL/mssql/2014042900.sql @@ -0,0 +1 @@ +-- empty
\ No newline at end of file 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'); diff --git a/SQL/mysql/2014042900.sql b/SQL/mysql/2014042900.sql new file mode 100644 index 000000000..9d93716d1 --- /dev/null +++ b/SQL/mysql/2014042900.sql @@ -0,0 +1 @@ +ALTER TABLE `users` CHANGE `preferences` `preferences` longtext; diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql index f18cb6ad0..238c3a657 100644 --- a/SQL/postgres.initial.sql +++ b/SQL/postgres.initial.sql @@ -290,4 +290,4 @@ CREATE TABLE "system" ( value text ); -INSERT INTO system (name, value) VALUES ('roundcube-version', '2013061000'); +INSERT INTO system (name, value) VALUES ('roundcube-version', '2014042900'); diff --git a/SQL/postgres/2014042900.sql b/SQL/postgres/2014042900.sql new file mode 100644 index 000000000..fe6741a02 --- /dev/null +++ b/SQL/postgres/2014042900.sql @@ -0,0 +1 @@ +-- empty
\ No newline at end of file diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql index e7f74ddfc..897e3af20 100644 --- a/SQL/sqlite.initial.sql +++ b/SQL/sqlite.initial.sql @@ -201,4 +201,4 @@ CREATE TABLE system ( value text NOT NULL ); -INSERT INTO system (name, value) VALUES ('roundcube-version', '2013061000'); +INSERT INTO system (name, value) VALUES ('roundcube-version', '2014042900'); diff --git a/SQL/sqlite/2014042900.sql b/SQL/sqlite/2014042900.sql new file mode 100644 index 000000000..fe6741a02 --- /dev/null +++ b/SQL/sqlite/2014042900.sql @@ -0,0 +1 @@ +-- empty
\ No newline at end of file |