Skip to content

Function: rbacExpiryMigration() ​

ts
function rbacExpiryMigration(options?): RbacSequelizeMigration;

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

A migration that adds the expires_at columns to existing tables, for { expiry: true }.

Parameters ​

ParameterType
options?RbacTableOptions

Returns ​

RbacSequelizeMigration

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