From c98f3b5d6e4c681b7e42ea71c32cd2ef1991b519 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 12 Jun 2008 17:46:31 +0000
Subject: #1485125: added index on messages.created

---
 SQL/sqlite.update.sql | 4 ++++
 1 file changed, 4 insertions(+)

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

diff --git a/SQL/sqlite.update.sql b/SQL/sqlite.update.sql
index 047fe6731..accf64a73 100644
--- a/SQL/sqlite.update.sql
+++ b/SQL/sqlite.update.sql
@@ -25,3 +25,7 @@ CREATE INDEX ix_messages_user_cache_uid ON messages(user_id,cache_key,uid);
 
 CREATE INDEX ix_users_username ON users(username);
 CREATE INDEX ix_users_alias ON users(alias);
+
+-- Updates from version 0.2-alpha
+
+CREATE INDEX ix_messages_created ON messages (created);
-- 
cgit v1.2.3

