audit_log: Reserve a number for STREAM_REACTIVATED.

We don't yet have a do_reactivate_stream function, but we reserve a
number since:
1. It'll likely be added in the future.
2. For now, we can restore archived stream with some manual intervention
in the Django shell, and for that we'll want to create an appropriate
RealmAuditLog entry.
This commit is contained in:
Mateusz Mandera
2021-10-21 12:32:07 +02:00
committed by Tim Abbott
parent ddf4053a73
commit 4dae22684a

View File

@@ -3830,6 +3830,7 @@ class AbstractRealmAuditLog(models.Model):
STREAM_CREATED = 601
STREAM_DEACTIVATED = 602
STREAM_NAME_CHANGED = 603
STREAM_REACTIVATED = 604
event_type: int = models.PositiveSmallIntegerField()