Interface: RbacMigrationOptions
Defined in: packages/kysely/src/schema.ts:5
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
dialect? | RbacDialect | Dialect family. Detected from the Kysely instance when omitted. | - | packages/kysely/src/schema.ts:7 |
expiry? | boolean | createRbacTables only: also create the nullable expires_at column of model_has_roles and model_has_permissions, needed by kyselyAdapter(db, { expiry: true }). Default: false (the 1.1 tables). For tables that already exist, use addRbacExpiryColumns / rbacExpiryMigration instead. | - | packages/kysely/src/schema.ts:13 |
prefix? | string | Prepended to every table, constraint and index name, e.g. 'rbac_' → rbac_permissions. Default: ''. | RbacTableOptions.prefix | packages/kysely/src/tables.ts:70 |
