Skip to content

basalt / auth-prisma/src / authMysqlColumnLimits

Variable: authMysqlColumnLimits ​

> const authMysqlColumnLimits: AuthColumnLimits

Defined in: auth-prisma/src/index.ts:239

The capacities of the bundled schema.mysql.prisma — what columnLimits: 'mysql' selects. Keys and hashed tokens stay VARCHAR(191); a user's email is VARCHAR(254), the longest valid address; password hashes, sealed TOTP secrets, provider subjects, credential ids and public keys are TEXT. Spread it to override one column after widening it.

Released under the MIT License.