sidequest_common.models.audit#

Officer/GM console action audit trail.

Classes#

OfficerAudit

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.UUIDAuditBase

One 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_name is a snapshot of the actor’s display name at the time, so the row still reads sensibly after actor_member_id is 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]#