models: Manage index from migration 0244 with Django.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-02-22 21:28:01 -08:00
committed by Tim Abbott
parent 0799acf3b6
commit cf0eb46afc
2 changed files with 6 additions and 7 deletions

View File

@@ -2801,6 +2801,7 @@ class Message(AbstractMessage):
class Meta:
indexes = [
models.Index("date_sent", name="zerver_message_date_sent_3b5b05d8"),
models.Index(
"recipient",
Upper("subject"),