sidequest_common.models.audit#
Officer/GM console action audit trail.
Classes#
One officer/GM-performed change, recorded in the same request as the change itself. |
Module Contents#
- class sidequest_common.models.audit.OfficerAudit#
Bases:
advanced_alchemy.base.UUIDAuditBaseOne officer/GM-performed change, recorded in the same request as the change itself.
Bot/Discord-originated changes are never audited here (no officer/GM actor).
actor_nameis a snapshot of the actor’s display name at the time, so the row still reads sensibly afteractor_member_idis nulled (kept, not deleted) when the actor’s account is later deleted.- action: sqlalchemy.orm.Mapped[str]#
- actor_member_id: sqlalchemy.orm.Mapped[int | None]#
- actor_name: sqlalchemy.orm.Mapped[str]#
- subject_id: sqlalchemy.orm.Mapped[str | None]#
- subject_type: sqlalchemy.orm.Mapped[str]#
- summary: sqlalchemy.orm.Mapped[str]#