mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 10:33:54 +00:00
models: Reserve a RealmAuditLog.USER_DELETED_PRESERVING_MESSAGES number.
The relevant function is waiting to be merged in #21299 - but we have already used it on Zulip Cloud, creating RealmAuditLog entries with the number 107 and thus should reserve it before another PR takes it for another purpose, creating confusion in the logs.
This commit is contained in:
committed by
Tim Abbott
parent
b63757621a
commit
6a6fd38d03
@@ -4172,6 +4172,7 @@ class AbstractRealmAuditLog(models.Model):
|
||||
USER_REACTIVATED = 104
|
||||
USER_ROLE_CHANGED = 105
|
||||
USER_DELETED = 106
|
||||
USER_DELETED_PRESERVING_MESSAGES = 107
|
||||
|
||||
USER_SOFT_ACTIVATED = 120
|
||||
USER_SOFT_DEACTIVATED = 121
|
||||
|
||||
Reference in New Issue
Block a user