PermissionsTable extends Migration
Permissions table migration Permissions now replace the 'authorize_group' and 'authorize_user' tables.
Also, they now map many-to-many to roles. Version 4.0.0.
Tags
Table of Contents
$dependencies | {@inheritdoc} | |
---|---|---|
$schema | Builder | |
up() | {@inheritdoc} | mixed |
down() | {@inheritdoc} | mixed |
__construct() | Create a new migration instance. | mixed |
Properties
$dependencies
{@inheritdoc}
public
static mixed
$dependencies
= ['\\UserFrosting\\Sprinkle\\Account\\Database\\Migrations\\v400\\RolesTable', '\\UserFrosting\\Sprinkle\\Account\\Database\\Migrations\\v400\\PermissionRolesTable']
$schema
protected
Builder
$schema
Methods
up()
{@inheritdoc}
public
up(
)
: mixed
Return values
mixeddown()
{@inheritdoc}
public
down(
)
: mixed
Return values
mixed__construct()
Create a new migration instance.
public
__construct(
[ $schema :
Builder|null
= null ]
)
: mixed
Parameters
- $schema : Builder|null = null