From 3d601d267dfb0ffca32ad953f36944b83910d907 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 7 Sep 2009 12:40:05 +0000
Subject: - added index in messages table

---
 SQL/mysql.update.sql | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'SQL/mysql.update.sql')

diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index 5590099d0..f0cac2449 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -44,3 +44,8 @@ ALTER TABLE `cache`
 
 ALTER TABLE `users`
     CHANGE `language` `language` varchar(5);
+
+-- Updates from version 0.3-stable
+
+ALTER TABLE `messages`
+    ADD INDEX `index_index` (`user_id`, `cache_key`, `idx`);
-- 
cgit v1.2.3

