From 8beceebb55294cbb65d597d5e3924b2bc5d2689f Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 27 Nov 2012 12:07:42 -0500
Subject: [PATCH] Fix deleting of collapsed threads, broken in 2b55d4f4204bdb8c97865e01b960c1d1f23ac0b7 (#1488772)

---
 SQL/mysql.update.sql |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index 3be6589..237aa3e 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -242,4 +242,6 @@
 
 -- Updates from version 0.8
 
-ALTER TABLE cache DROP COLUMN cache_id;
+ALTER TABLE `cache` DROP COLUMN `cache_id`;
+ALTER TABLE `users` DROP COLUMN `alias`;
+ALTER TABLE `identities` ADD INDEX `email_identities_index` (`email`, `del`);

--
Gitblit v1.9.1