RolesTable extends Migration
Roles table migration Roles replace "groups" in UF 0.3.x. Users acquire permissions through roles.
N.B.: Default roles will be added in DefaultPermissions
seed
Version 4.0.0.
Tags
Table of Contents
$schema | Builder | |
---|---|---|
up() | {@inheritdoc} | mixed |
down() | {@inheritdoc} | mixed |
__construct() | Create a new migration instance. | mixed |
Properties
$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