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.initial.sql | 1 +
 1 file changed, 1 insertion(+)

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

diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql
index 6adcf4dff..4b2c30faa 100644
--- a/SQL/sqlite.initial.sql
+++ b/SQL/sqlite.initial.sql
@@ -123,3 +123,4 @@ CREATE TABLE messages (
 );
 
 CREATE INDEX ix_messages_user_cache_uid ON messages(user_id,cache_key,uid);
+CREATE INDEX ix_messages_created ON messages (created);
-- 
cgit v1.2.3

