UpdateUsersTable extends Migration
Groups table migration Changes `group_id` column properties to allow user to be created without a group.
Version 4.3.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\\GroupsTable', '\\UserFrosting\\Sprinkle\\Account\\Database\\Migrations\\v400\\UsersTable', '\\UserFrosting\\Sprinkle\\Account\\Database\\Migrations\\v420\\AddingForeignKeys']
$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