summaryrefslogtreecommitdiff
path: root/SQL/postgres.initial.sql
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-03-25 19:08:19 +0000
committerthomascube <thomas@roundcube.net>2008-03-25 19:08:19 +0000
commitac26b964663405521077c7710212a58c37a041c7 (patch)
tree9a6beed1f2e9c5ec73916900fe1bda47f6e68154 /SQL/postgres.initial.sql
parent0ce1a6514975293e134e4a41e739a0d5f9025990 (diff)
Optimize database schema; get rid of unnecessary indexes
Diffstat (limited to 'SQL/postgres.initial.sql')
-rw-r--r--SQL/postgres.initial.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql
index 356a579fc..e8513af73 100644
--- a/SQL/postgres.initial.sql
+++ b/SQL/postgres.initial.sql
@@ -131,7 +131,7 @@ CREATE TABLE "cache" (
data text NOT NULL
);
-
+ALTER TABLE "cache" ADD INDEX (user_id, cache_key);
--
-- Sequence "message_ids"