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:
Mateusz Mandera
2022-04-16 23:58:44 +02:00
committed by Tim Abbott
parent b63757621a
commit 6a6fd38d03

View File

@@ -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