From 29451cfc61ed7dcd6a55bcdb2358b8f8b9ddeef1 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 11 Sep 2007 16:51:11 -0400 Subject: [PATCH] Truncate cache table before adding index --- SQL/postgres.initial.sql | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql old mode 100755 new mode 100644 index ebd504d..bf82b9b --- a/SQL/postgres.initial.sql +++ b/SQL/postgres.initial.sql @@ -167,4 +167,4 @@ structure text ); -ALTER TABLE "messages" ADD UNIQUE (cache_key, uid); +ALTER TABLE "messages" ADD UNIQUE (user_id, cache_key, uid); -- Gitblit v1.9.1