Skip to content

Function: dropRbacTables() ​

ts
function dropRbacTables(db, options?): Promise<void>;

Defined in: packages/kysely/src/schema.ts:219

Drops the five rbac-evolution tables (if they exist).

Parameters ​

ParameterType
dbKysely<any>
options?RbacTableOptions

Returns ​

Promise<void>

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