- Add version markers

pull/1/head
alecpl 13 years ago
parent e01e798517
commit f45074341c

@ -239,6 +239,8 @@ ALTER TABLE [dbo].[cache_messages] ADD CONSTRAINT [FK_cache_messages_user_id]
ON DELETE CASCADE ON UPDATE CASCADE ON DELETE CASCADE ON UPDATE CASCADE
GO GO
-- Updates from version 0.7-beta
ALTER TABLE [dbo].[session] ALTER COLUMN [sess_id] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL ALTER TABLE [dbo].[session] ALTER COLUMN [sess_id] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL
GO GO

@ -209,4 +209,6 @@ CREATE TABLE `cache_messages` (
PRIMARY KEY (`user_id`, `mailbox`, `uid`) PRIMARY KEY (`user_id`, `mailbox`, `uid`)
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; ) /*!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; 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); 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); 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); CREATE INDEX ix_cache_messages_changed ON cache_messages (changed);
-- Updates from version 0.7-beta
DROP TABLE session; DROP TABLE session;
CREATE TABLE session ( CREATE TABLE session (
sess_id varchar(128) NOT NULL PRIMARY KEY, sess_id varchar(128) NOT NULL PRIMARY KEY,

Loading…
Cancel
Save