Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
realmauditlog: Add "scrubbed" boolean column.
Mateusz Mandera7f6485caff67
diff --git a/zerver/migrations/0768_realmauditlog_scrubbed.py b/zerver/migrations/0768_realmauditlog_scrubbed.pynew file mode 100644index 00000000000..fe9e4322477--- /dev/null+++ b/zerver/migrations/0768_realmauditlog_scrubbed.py@@ -0,0 +1,17 @@+# Generated by Django 5.2.8 on 2025-12-05 18:20++from django.db import migrations, models+++class Migration(migrations.Migration):+ dependencies = [+ ("zerver", "0767_rename_zoom_token_to_video_call_provider_tokens"),+ ]++ operations = [+ migrations.AddField(+ model_name="realmauditlog",+ name="scrubbed",+ field=models.BooleanField(db_default=False, default=False),+ ),+ ]diff --git a/zerver/models/realm_audit_logs.py b/zerver/models/realm_audit_logs.pyindex a97aaa0ff84..3954fdfda5f 100644--- a/zerver/models/realm_audit_logs.py+++ b/zerver/models/realm_audit_logs.py@@ -259,6 +259,7 @@ class RealmAuditLog(AbstractRealmAuditLog):on_delete=CASCADE,)event_last_message_id = models.IntegerField(null=True)+ scrubbed = models.BooleanField(db_default=False, default=False)class Meta:ordering = ["id"]