Documentation

CreateCommand
in package

Read onlyYes

Creates a migration stub.

The migration must be implemented after it is created.

Table of Contents

Methods

__construct()  : mixed
execute()  : bool

Methods

execute()

public execute(string $migrationName, string $migrationsDir) : bool
Parameters
$migrationName : string

Name of migration to create

$migrationsDir : string

Migrations target directory

Return values
bool

        
On this page

Search results