]> git.donarmstrong.com Git - roundcube.git/blobdiff - SQL/mssql.initial.sql
Imported Upstream version 0.7.2
[roundcube.git] / SQL / mssql.initial.sql
index 406eb5412115e3d76d7426ef992b768f8ef07b44..72c24f1269cf20888c524ebfca695e3e084cf966 100644 (file)
@@ -29,8 +29,8 @@ CREATE TABLE [dbo].[cache_messages] (
        [mailbox] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL ,\r
        [uid] [int] NOT NULL ,\r
        [changed] [datetime] NOT NULL ,\r
-       [data] [text] COLLATE Latin1_General_CI_AI NOT NULL \r
-       [flags] [int](1) NOT NULL ,\r
+       [data] [text] COLLATE Latin1_General_CI_AI NOT NULL ,\r
+       [flags] [int] NOT NULL\r
 ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]\r
 GO\r
 \r
@@ -226,7 +226,7 @@ GO
 \r
 ALTER TABLE [dbo].[cache_messages] ADD \r
        CONSTRAINT [DF_cache_messages_changed] DEFAULT (getdate()) FOR [changed],\r
-       CONSTRAINT [DF_cache_messages_flags] DEFAULT (0) FOR [flags],\r
+       CONSTRAINT [DF_cache_messages_flags] DEFAULT (0) FOR [flags]\r
 GO\r
 \r
 CREATE  INDEX [IX_cache_messages_user_id] ON [dbo].[cache_messages]([user_id]) ON [PRIMARY]\r
@@ -310,7 +310,7 @@ GO
 \r
 ALTER TABLE [dbo].[searches] ADD \r
        CONSTRAINT [DF_searches_user] DEFAULT (0) FOR [user_id],\r
-       CONSTRAINT [DF_searches_type] DEFAULT (0) FOR [type],\r
+       CONSTRAINT [DF_searches_type] DEFAULT (0) FOR [type]\r
 GO\r
 \r
 CREATE UNIQUE INDEX [IX_searches_user_type_name] ON [dbo].[searches]([user_id],[type],[name]) ON [PRIMARY]\r