From cdb8b96e31fdb71b37fe6b0fca81ef5221de7a6d Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 26 Jan 2011 11:53:18 +0000
Subject: Clear message cache table when upgrading

---
 SQL/postgres.update.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'SQL/postgres.update.sql')

diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql
index 444caf6f6..2f4498d36 100644
--- a/SQL/postgres.update.sql
+++ b/SQL/postgres.update.sql
@@ -88,3 +88,4 @@ DROP INDEX users_username_id_idx;
 ALTER TABLE users ADD UNIQUE (username, mail_host);
 ALTER TABLE contacts ALTER email TYPE varchar(255);
 
+TRUNCATE messages;
-- 
cgit v1.2.3

