Add index to in_reply_to column; fix #6504

Since we're searching on the column, we should have an index on it.
This commit is contained in:
Charles Lindsay 2013-03-11 14:34:33 -07:00
parent 149c030692
commit eb643abaa6
2 changed files with 6 additions and 0 deletions

5
sql/version-008.sql Normal file
View file

@ -0,0 +1,5 @@
--
-- Index the in_reply_to column, since we're searching on it now.
--
CREATE INDEX MessageTableInReplyToIndex ON MessageTable(in_reply_to);