Migration
Less than 1 minute
Migration
Properties
message
public string $message
raise
Raises an exception if the migration is not compatible with the current database schema.
public string $raise
requires
List of migration versions that are required to be run before this migration.
public array $requires
exec
public array $exec
up
public Event $up
down
public Event $down
Methods
replay
public replay(Adapter $dbi): bool
Parameters
Parameter | Type | Description |
---|---|---|
$dbi | Adapter |
rollback
public rollback(Adapter $dbi): bool
Parameters
Parameter | Type | Description |
---|---|---|
$dbi | Adapter |
Generated by Hazaar API Doc Generator