Skip to content

basalt / audit-prisma/src / PrismaAuditStoreOptions

Interface: PrismaAuditStoreOptions ​

Defined in: audit-prisma/src/index.ts:138

Properties ​

columnLimits? ​

> optional columnLimits?: "mysql" | ColumnLimits<{ AuditEntry: AuditColumn; }>

Defined in: audit-prisma/src/index.ts:147

Refuse (throw ColumnLengthError) a value longer than its column instead of letting the database truncate it — on MySQL outside strict mode a truncated payload or hash silently breaks the hash chain. 'mysql' uses the limits of the bundled schema.mysql.prisma; pass an object for a schema of your own. Default: unchecked (PostgreSQL and SQLite store any length).

Released under the MIT License.