Interface: PrismaAdapterOptions
Defined in: packages/prisma/src/index.ts:156
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
expiry? | boolean | Store an expiry per role assignment and direct permission (assignRole(role, { expiresAt })). Needs the optional expiresAt field on RbacModelHasRole and RbacModelHasPermission (see schema/rbac-expiry.prisma and the upgrade steps). Default: false: the adapter never reads or writes that field, so a 1.1 schema keeps working unchanged. | packages/prisma/src/index.ts:169 |
skipDuplicates? | boolean | Use createMany({ skipDuplicates: true }) for attach operations (one query, race-free). Supported by PostgreSQL, MySQL/MariaDB and CockroachDB — NOT by SQLite, SQL Server or MongoDB. Default: false (portable: reads existing links first, inserts only the missing ones). | packages/prisma/src/index.ts:162 |
