mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
messages: Clarify comment on zerver_message_edit_history_id idx.
This commit removes a misleading comment regarding 'zerver_message_edit_history_id' index. We added the index in 0679 to use in 0680 but later the 0680 migration was reworked resulting in the index not being used in 0680. We didn't drop the index as we expect it to be helpful for other things. The comment was misleading hence removed.
This commit is contained in:
committed by
Tim Abbott
parent
e1aa8b1cb0
commit
68b7deac72
@@ -244,7 +244,11 @@ class Message(AbstractMessage):
|
||||
name="zerver_message_realm_id",
|
||||
),
|
||||
models.Index(
|
||||
# Used by 0680_rename_general_chat_to_empty_string_topic
|
||||
# Potentially useful for migrations that rewrite
|
||||
# message edit history. Originally added for
|
||||
# 0680_rename_general_chat_to_empty_string_topic,
|
||||
# though that migration was adjusted in a way that no
|
||||
# longer uses this.
|
||||
fields=["id"],
|
||||
condition=Q(edit_history__isnull=False),
|
||||
name="zerver_message_edit_history_id",
|
||||
|
||||
Reference in New Issue
Block a user