RollbackModule
Less than 1 minute
RollbackModule
Console module for rolling back DBI schema migrations.
class RollbackModule extends \Hazaar\Console\ModuleExtends: Hazaar\Console\Module
Registers 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(): voidReturns: void
execute
Executes schema rollback to the requested or current version.
protected execute(Input $input, Output $output): intReturns: int
Parameters
| Parameter | Type | Description |
|---|---|---|
$input | Hazaar\Console\Input | parsed command input |
$output | Hazaar\Console\Output | console output writer |
Generated by Hazaar API Doc Generator on Thu, 22 Oct 2026 05:05:30 +0000