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:
parent
149c030692
commit
eb643abaa6
2 changed files with 6 additions and 0 deletions
|
|
@ -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})
|
||||
|
|
|
|||
5
sql/version-008.sql
Normal file
5
sql/version-008.sql
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue