Documentation

CorporationMakeMigration extends MigrateMakeCommand

Signature: lneuro:make-network-migration

Provides a command to create a migration file for a new network entity.

Table of Contents

Properties

$description  : string
The console command description.
$signature  : string
The name and signature of the console command.

Methods

__construct()  : mixed
writeMigration()  : mixed

Properties

$description

The console command description.

protected string $description = 'Modifies the naming scheme for MigrateMakeCommand to allow for file creation without dynamic timestamp.'

$signature

The name and signature of the console command.

protected string $signature = 'lneuro:make-network-migration {name : The name of the migration.} {--create= : The table to be created.} {--table= : The table to migrate.} {--path= : The location where the migration file should be created.} {--realpath : Indicate any provided migration file paths are pre-resolved absolute paths.}'

Methods

__construct()

public __construct(MigrationCreator $creator, Composer $composer) : mixed
Parameters
$creator : MigrationCreator
$composer : Composer

writeMigration()

protected writeMigration(mixed $name, mixed $table, mixed $create) : mixed
Parameters
$name : mixed
$table : mixed
$create : mixed

        
On this page

Search results