From d08333ea578e3b6c6ab42bed05f808a2b7b93cf1 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 5 May 2011 12:46:54 +0000
Subject: - Fix problems with subfolders of INBOX folder on some IMAP servers
 (#1487725) - Fix handling of folders that doesn't belong to any namespace
 (#1487637)

---
 SQL/mssql.upgrade.sql | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'SQL/mssql.upgrade.sql')

diff --git a/SQL/mssql.upgrade.sql b/SQL/mssql.upgrade.sql
index eacfcf11d..f76de95d0 100644
--- a/SQL/mssql.upgrade.sql
+++ b/SQL/mssql.upgrade.sql
@@ -97,9 +97,13 @@ GO
 ALTER TABLE [dbo].[contacts] ALTER COLUMN [email] [varchar] (255) COLLATE Latin1_General_CI_AI NOT NULL
 GO
 
--- Updates from version 0.5.1
+-- Updates from version 0.5.2
 
 ALTER TABLE [dbo].[contacts] ADD [words] [text] COLLATE Latin1_General_CI_AI NULL 
 GO
-CREATE  INDEX [IX_contactgroupmembers_contact_id] ON [dbo].[contactgroupmembers]([contact_id]) ON [PRIMARY]
+CREATE INDEX [IX_contactgroupmembers_contact_id] ON [dbo].[contactgroupmembers]([contact_id]) ON [PRIMARY]
+GO
+DELETE FROM [dbo].[messages]
+GO
+DELETE FROM [dbo].[cache]
 GO
-- 
cgit v1.2.3

