From 5f51ba1e7cbd9bbbf927d9817bc3b847db7d9eec Mon Sep 17 00:00:00 2001
From: thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>
Date: Wed, 26 Jan 2011 11:53:18 +0000
Subject: Clear message cache table when upgrading

git-svn-id: https://svn.roundcube.net/trunk@4459 208e9e7b-5314-0410-a742-e7e81cd9613c
---
 roundcubemail/SQL/postgres.update.sql | 1 +
 1 file changed, 1 insertion(+)

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

diff --git a/roundcubemail/SQL/postgres.update.sql b/roundcubemail/SQL/postgres.update.sql
index 444caf6f6..2f4498d36 100644
--- a/roundcubemail/SQL/postgres.update.sql
+++ b/roundcubemail/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

