Pickles Framework Documentation

MakeMigration extends Command

Command class responsible for generating new migration files.

This class provides the functionality to create migration files via the CLI, allowing developers to manage database schema changes.

Table of Contents

Properties

$defaultDescription  : mixed
$defaultName  : mixed

Methods

__construct()  : mixed
configure()  : mixed
execute()  : int

Properties

$defaultDescription

protected static mixed $defaultDescription = 'Create a new migration file in the database/migrations directory'

$defaultName

protected static mixed $defaultName = 'make:migration'

Methods

execute()

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

        
On this page

Search results