Migrate
extends Command
in package
Handles database migration commands for the CLI.
This command provides functionality to manage and execute database migrations within the Pickles Framework. It extends the base Command class to integrate with the CLI command system.
Table of Contents
Properties
- $defaultDescription : mixed
- $defaultName : mixed
Methods
- __construct() : mixed
- configure() : mixed
- execute() : int
Properties
$defaultDescription
protected
static mixed
$defaultDescription
= 'Run all pending migrations'
$defaultName
protected
static mixed
$defaultName
= 'migrate'
Methods
__construct()
public
__construct() : mixed
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface