MakeMigration
extends Command
in package
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
__construct()
public
__construct() : mixed
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface