Skip to content

basalt / files-prisma/src / PrismaFilesStoreOptions

Interface: PrismaFilesStoreOptions ​

Defined in: files-prisma/src/mysql-limits.ts:28

Properties ​

columnLimits? ​

> optional columnLimits?: "mysql" | ColumnLimits<{ File: FileColumn; FileVersion: FileVersionColumn; }>

Defined in: files-prisma/src/mysql-limits.ts:37

Refuse (throw ColumnLengthError) a value longer than its column instead of letting the database truncate it — on MySQL outside strict mode a cut path no longer names the stored object, and its bytes are orphaned. '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.