AuditColumns interface

Column names within the audit table.

Signature:

export interface AuditColumns 

Remarks

Every one defaults to its own name, so a table whose columns are spelled the obvious way is configured by saying nothing. Name only what differs.

Properties

Property

Modifiers

Type

Description

action?

string

(Optional) Column holding the action string.

changes?

string

(Optional) Column holding the JSON payload of the written row.

createdAt?

string

(Optional) Column stamped with the database's now() at insert time.

modelName?

string

(Optional) Column holding the name of the model that was written.

principal?

string

(Optional) Column holding the JSON actor, as returned by getPrincipal.

recordId?

string

(Optional) Column holding the affected record's id.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.