MigrateModule
Less than 1 minute
MigrateModule
Console module for running DBI schema migrations.
class MigrateModule extends \Hazaar\Console\DBI\ModuleResolves application context, executes migration and sync operations, and supports optional force-initialization flows for full schema resets.
Methods
configure
Registers module hooks, options, and the migrate command definition.
protected configure(): voidexecute
Executes schema migration and synchronization operations.
protected execute(Input $input, Output $output): intParameters
| Parameter | Type | Description |
|---|---|---|
$input | Input | parsed command input and options |
$output | Output | console output writer |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000