UserFrosting API

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.

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

Tags
author

Alex Weissman (https://alexanderweissman.com)

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']

Methods

__construct()

Create a new migration instance.

public __construct( [ $schema : Builder|null = null ] ) : mixed
Parameters
$schema : Builder|null = null
Return values
mixed

Search results