diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql index b0afca75f2..d6600d719a 100644 --- a/SQL/mysql.initial.sql +++ b/SQL/mysql.initial.sql @@ -272,4 +272,4 @@ CREATE TABLE `system` ( SET FOREIGN_KEY_CHECKS=1; -INSERT INTO `system` (`name`, `value`) VALUES ('roundcube-version', '2025092300'); +INSERT INTO `system` (`name`, `value`) VALUES ('roundcube-version', '2026071900'); diff --git a/SQL/mysql/2026071900.sql b/SQL/mysql/2026071900.sql new file mode 100644 index 0000000000..7778aa3225 --- /dev/null +++ b/SQL/mysql/2026071900.sql @@ -0,0 +1 @@ +-- Postgres only \ No newline at end of file diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql index 4c506efe4f..29734db4dc 100644 --- a/SQL/postgres.initial.sql +++ b/SQL/postgres.initial.sql @@ -290,7 +290,7 @@ CREATE TABLE cache_messages ( user_id integer NOT NULL REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE, mailbox varchar(255) NOT NULL, - uid integer NOT NULL, + uid bigint NOT NULL, expires timestamp with time zone, data text NOT NULL, flags integer NOT NULL DEFAULT 0, @@ -390,4 +390,4 @@ CREATE TABLE "system" ( value text ); -INSERT INTO "system" (name, value) VALUES ('roundcube-version', '2025092300'); +INSERT INTO "system" (name, value) VALUES ('roundcube-version', '2026071900'); diff --git a/SQL/postgres/2026071900.sql b/SQL/postgres/2026071900.sql new file mode 100644 index 0000000000..7858c11e3f --- /dev/null +++ b/SQL/postgres/2026071900.sql @@ -0,0 +1 @@ +ALTER TABLE "cache_messages" ALTER COLUMN uid TYPE bigint; diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql index e6fe2f77f1..d38e9d55a4 100644 --- a/SQL/sqlite.initial.sql +++ b/SQL/sqlite.initial.sql @@ -274,4 +274,4 @@ CREATE TABLE system ( value text NOT NULL ); -INSERT INTO system (name, value) VALUES ('roundcube-version', '2025092300'); +INSERT INTO system (name, value) VALUES ('roundcube-version', '2026071900'); diff --git a/SQL/sqlite/2026071900.sql b/SQL/sqlite/2026071900.sql new file mode 100644 index 0000000000..7778aa3225 --- /dev/null +++ b/SQL/sqlite/2026071900.sql @@ -0,0 +1 @@ +-- Postgres only \ No newline at end of file