From 4dae22684a2ffa0022601bdf06751c2f40ba1723 Mon Sep 17 00:00:00 2001 From: Mateusz Mandera Date: Thu, 21 Oct 2021 12:32:07 +0200 Subject: [PATCH] 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. --- zerver/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zerver/models.py b/zerver/models.py index a4945a8eec..c6041e07c3 100644 --- a/zerver/models.py +++ b/zerver/models.py @@ -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()