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 |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/SQL/sqlite.update.sql b/SQL/sqlite.update.sql
index 7b5464c..30c3ae9 100644
--- a/SQL/sqlite.update.sql
+++ b/SQL/sqlite.update.sql
@@ -183,7 +183,10 @@
 DELETE FROM messages;
 
 
--- Updates from version 0.5.x
+-- 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