pgAuditTable
function pgAuditTable(name?, opts?): DrizzleKvTable;Defined in: src/drizzle/pg.ts:93
Build the Drizzle pgTable for the audit KV store. Base columns are fixed —
key text PRIMARY KEY, value jsonb NOT NULL — and required by
createDrizzleStorage; schema/extraColumns/extraIndexes extend it.
The table name defaults to "xtandard_audit".
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
name? |
string |
"xtandard_audit" |
opts? |
PgAuditTableOptions |
undefined |
Returns
Section titled “Returns”DrizzleKvTable