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/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 f07672614..ae6fb7533 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -25,3 +25,8 @@ ALTER TABLE `identities`
     MODIFY `organization` varchar(128) NOT NULL DEFAULT '',
     MODIFY `name` varchar(128) NOT NULL, 
     MODIFY `email` varchar(128) NOT NULL; 
+
+-- Updates from version 0.2-alpha
+
+ALTER TABLE `messages`
+    ADD INDEX `created_index` (`created`);
-- 
cgit v1.2.3

