Skip to content

Interface: SequelizeAdapterOptions ​

Defined in: packages/sequelize/src/index.ts:24

Extends ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in
expiry?booleanStore an expiry per role assignment and direct permission (assignRole(role, { expiresAt })). Needs the expires_at column (rbacMigration({ expiry: true }), or rbacExpiryMigration() for existing tables). Default: false.-packages/sequelize/src/index.ts:30
prefix?stringPrepended to every table, constraint and index name, e.g. 'rbac_' → rbac_permissions. Default: ''.RbacTableOptions.prefixpackages/kysely/dist/index.d.ts:72

Released under the MIT License. Inspired by spatie/laravel-permission.