Migration
Less than 1 minute
Migration
Properties
message
public string $messageraise
Raises an exception if the migration is not compatible with the current database schema.
public string $raiserequires
List of migration versions that are required to be run before this migration.
public array $requiresexec
public array $execup
public Event $updown
public Event $downMethods
replay
public replay(Adapter $dbi): boolParameters
| Parameter | Type | Description |
|---|---|---|
$dbi | Adapter |
rollback
public rollback(Adapter $dbi): boolParameters
| Parameter | Type | Description |
|---|---|---|
$dbi | Adapter |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:28 +0000