Skip to content

Function: rbacExpiryMigration() ​

ts
function rbacExpiryMigration(options?): new () => RbacTypeormMigration;

Defined in: packages/typeorm/src/index.ts:116

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

Parameters ​

ParameterType
options?RbacTypeormMigrationOptions

Returns ​

new () => RbacTypeormMigration

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