Commit eb643aba authored by Charles Lindsay's avatar Charles Lindsay

Add index to in_reply_to column; fix #6504

Since we're searching on the column, we should have an index on it.
parent 149c0306
......@@ -7,3 +7,4 @@ install(FILES version-004.sql DESTINATION ${SQL_DEST})
install(FILES version-005.sql DESTINATION ${SQL_DEST})
install(FILES version-006.sql DESTINATION ${SQL_DEST})
install(FILES version-007.sql DESTINATION ${SQL_DEST})
install(FILES version-008.sql DESTINATION ${SQL_DEST})
-- Index the in_reply_to column, since we're searching on it now.
CREATE INDEX MessageTableInReplyToIndex ON MessageTable(in_reply_to);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment