mirror of https://github.com/zulip/zulip.git
migrations: Fix RealmAuditLog creation in migration 0374.
This commit is contained in:
parent
ce49c4ca9e
commit
40aa156b28
|
@ -14,6 +14,7 @@ def backfill_user_deleted_logs(apps: StateApps, schema_editor: DatabaseSchemaEdi
|
|||
is_mirror_dummy=True, is_active=False, delivery_email__regex=r"^deleteduser\d+@.+"
|
||||
):
|
||||
entry = RealmAuditLog(
|
||||
realm_id=user_profile.realm_id,
|
||||
modified_user=user_profile,
|
||||
acting_user=user_profile,
|
||||
event_type=RealmAuditLog.USER_DELETED,
|
||||
|
|
Loading…
Reference in New Issue