database: Add database index for wildcard mentions.

This commit is contained in:
Tim Abbott
2017-08-16 12:51:26 -07:00
parent dac7cfa026
commit d43f5ceeec
4 changed files with 39 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ usermessage_index_migrations = [
"[ ] 0083_index_mentioned_user_messages",
"[ ] 0095_index_unread_user_messages",
"[ ] 0098_index_has_alert_word_user_messages",
"[ ] 0099_index_wildcard_mentioned_user_messages",
]
# Our next optimization is to check whether any migrations are needed
# before we start the critical section of the restart. This saves