summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-23 10:02:46 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-23 10:02:46 +0000
commit83770ebad5a304173ecffeea878c8c900411bdc6 (patch)
tree78d96a24894800b3e4e9048715feed573969ffda /roundcubemail/SQL
parentea30faa00eca371a15653a6e2f8ad4ac8301e822 (diff)
- Add version markers
git-svn-id: https://svn.roundcube.net/trunk@5468 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL')
-rw-r--r--roundcubemail/SQL/mssql.upgrade.sql2
-rw-r--r--roundcubemail/SQL/mysql.update.sql2
-rw-r--r--roundcubemail/SQL/postgres.update.sql2
-rw-r--r--roundcubemail/SQL/sqlite.update.sql2
4 files changed, 8 insertions, 0 deletions
diff --git a/roundcubemail/SQL/mssql.upgrade.sql b/roundcubemail/SQL/mssql.upgrade.sql
index b479b1677..78efda219 100644
--- a/roundcubemail/SQL/mssql.upgrade.sql
+++ b/roundcubemail/SQL/mssql.upgrade.sql
@@ -239,6 +239,8 @@ ALTER TABLE [dbo].[cache_messages] ADD CONSTRAINT [FK_cache_messages_user_id]
ON DELETE CASCADE ON UPDATE CASCADE
GO
+-- Updates from version 0.7-beta
+
ALTER TABLE [dbo].[session] ALTER COLUMN [sess_id] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL
GO
diff --git a/roundcubemail/SQL/mysql.update.sql b/roundcubemail/SQL/mysql.update.sql
index 053649b59..07617316b 100644
--- a/roundcubemail/SQL/mysql.update.sql
+++ b/roundcubemail/SQL/mysql.update.sql
@@ -209,4 +209,6 @@ CREATE TABLE `cache_messages` (
PRIMARY KEY (`user_id`, `mailbox`, `uid`)
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
+-- Updates from version 0.7-beta
+
ALTER TABLE `session` CHANGE `sess_id` `sess_id` varchar(128) NOT NULL;
diff --git a/roundcubemail/SQL/postgres.update.sql b/roundcubemail/SQL/postgres.update.sql
index d06ee8487..c96669dc8 100644
--- a/roundcubemail/SQL/postgres.update.sql
+++ b/roundcubemail/SQL/postgres.update.sql
@@ -166,4 +166,6 @@ CREATE TABLE cache_messages (
CREATE INDEX cache_messages_changed_idx ON cache_messages (changed);
+-- Updates from version 0.7-beta
+
ALTER TABLE "session" ALTER sess_id TYPE varchar(128);
diff --git a/roundcubemail/SQL/sqlite.update.sql b/roundcubemail/SQL/sqlite.update.sql
index e6b3ee125..92f6da142 100644
--- a/roundcubemail/SQL/sqlite.update.sql
+++ b/roundcubemail/SQL/sqlite.update.sql
@@ -283,6 +283,8 @@ CREATE TABLE cache_messages (
CREATE INDEX ix_cache_messages_changed ON cache_messages (changed);
+-- Updates from version 0.7-beta
+
DROP TABLE session;
CREATE TABLE session (
sess_id varchar(128) NOT NULL PRIMARY KEY,