UserFrosting API

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.

See https://laravel.com/docs/5.8/migrations#tables

Tags
author

Alex Weissman (https://alexanderweissman.com)

Table of Contents

$schema Builder
up() {@inheritdoc} mixed
down() {@inheritdoc} mixed
__construct() Create a new migration instance. mixed

Properties

Methods

up()

{@inheritdoc}

public up( ) : mixed
Return values
mixed

down()

{@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
Return values
mixed

Search results