From ac26b964663405521077c7710212a58c37a041c7 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 25 Mar 2008 15:08:19 -0400
Subject: [PATCH] Optimize database schema; get rid of unnecessary indexes

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

diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql
index 356a579..e8513af 100644
--- a/SQL/postgres.initial.sql
+++ b/SQL/postgres.initial.sql
@@ -131,7 +131,7 @@
     data text NOT NULL
 );
 
-
+ALTER TABLE "cache" ADD INDEX (user_id, cache_key);
 
 --
 -- Sequence "message_ids"

--
Gitblit v1.9.1