From faf10e8fec3dcd4439a3a22cb2e3877c4b622b33 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 14 Aug 2011 15:02:33 -0400
Subject: [PATCH] Fix automatic db updates; trigger contact indexing after upgrade

---
 SQL/sqlite.update.sql |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/SQL/sqlite.update.sql b/SQL/sqlite.update.sql
index d8a657a..30c3ae9 100644
--- a/SQL/sqlite.update.sql
+++ b/SQL/sqlite.update.sql
@@ -184,6 +184,9 @@
 
 
 -- Updates from version 0.5.1
+-- Updates from version 0.5.2
+-- Updates from version 0.5.3
+-- Updates from version 0.5.4
 
 CREATE TABLE contacts_tmp (
     contact_id integer NOT NULL PRIMARY KEY,
@@ -221,4 +224,5 @@
 DROP TABLE contacts_tmp;
 
 DELETE FROM messages;
+DELETE FROM cache;
 CREATE INDEX ix_contactgroupmembers_contact_id ON contactgroupmembers (contact_id);

--
Gitblit v1.9.1