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 Fri, 04 Sep 2026 23:32:18 +0000