Skip to content

basalt / teams-prisma/src / PrismaTeamsStoreOptions

Interface: PrismaTeamsStoreOptions ​

Defined in: teams-prisma/src/index.ts:94

Properties ​

columnLimits? ​

> optional columnLimits?: "mysql" | ColumnLimits<{ TeamInvitation: "id" | "tenantId" | "email" | "token" | "role" | "invitedBy"; TeamMembership: "tenantId" | "userId" | "role"; }>

Defined in: teams-prisma/src/index.ts:103

Refuse (throw ColumnLengthError) a value longer than its column instead of letting the database truncate it — on MySQL outside strict mode a cut invitation email no longer matches its recipient and a cut token hash no longer matches the link that was sent. '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.