From 95609c48f5f51a2a662d2b77d55aad6fae73a112 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 12 Jun 2007 15:05:59 -0400
Subject: [PATCH] Minor bugfixes reported on the dev-list

---
 SQL/postgres.update.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql
index 2ad6029..8f70548 100644
--- a/SQL/postgres.update.sql
+++ b/SQL/postgres.update.sql
@@ -3,7 +3,7 @@
 
 ALTER TABLE "messages" DROP body;
 ALTER TABLE "messages" ADD structure TEXT;
-ALTER TABLE "messages" ADD UNIQUE (cache_key, uid);
+ALTER TABLE "messages" ADD UNIQUE (user_id, cache_key, uid);
 
 ALTER TABLE "identities" ADD html_signature integer DEFAULT 0 NOT NULL;
 

--
Gitblit v1.9.1