RollbackModule
Less than 1 minute
RollbackModule
Console module for rolling back DBI schema migrations.
class RollbackModule extends \Hazaar\Console\DBI\ModuleRegisters and executes rollback operations to a target or current schema version, with optional test-mode flag support for dry-run style workflows.
Methods
configure
Registers the rollback command and its arguments/options.
protected configure(): voidexecute
Executes schema rollback to the requested or current version.
protected execute(Input $input, Output $output): intParameters
| Parameter | Type | Description |
|---|---|---|
$input | Input | parsed command input |
$output | Output | console output writer |
Generated by Hazaar API Doc Generator on Fri, 05 Jun 2026 06:08:15 +0000