summaryrefslogtreecommitdiff
path: root/SQL/mysql.update.sql
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-07 12:40:05 +0000
committeralecpl <alec@alec.pl>2009-09-07 12:40:05 +0000
commit3d601d267dfb0ffca32ad953f36944b83910d907 (patch)
treef61fe2196a5a60efc483df9c4acdcf92bf5e6770 /SQL/mysql.update.sql
parenteb4b147badf67f7ddad520ec8be736333c930686 (diff)
- added index in messages table
Diffstat (limited to 'SQL/mysql.update.sql')
-rw-r--r--SQL/mysql.update.sql5
1 files changed, 5 insertions, 0 deletions
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`);