@ -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
@ -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 */;
ALTER TABLE `session` CHANGE `sess_id` `sess_id` varchar(128) NOT NULL;
@ -166,4 +166,6 @@ CREATE TABLE cache_messages (
CREATE INDEX cache_messages_changed_idx ON cache_messages (changed);
ALTER TABLE "session" ALTER sess_id TYPE varchar(128);
@ -283,6 +283,8 @@ CREATE TABLE cache_messages (
CREATE INDEX ix_cache_messages_changed ON cache_messages (changed);
DROP TABLE session;
CREATE TABLE session (
sess_id varchar(128) NOT NULL PRIMARY KEY,