Methods
Executes a single Migration.
|
public execute(Migration $migration) : void
|
Migration should be wrapped in a transaction.
Parameters
Name |
Type |
Default value |
Description |
$migration
|
Migration
|
-
|
-
|
Tags
-
Throws
-
UnhandledMigrationException
when Migration execution fails.
-
Throws
-
InvalidMigrationException
when Migration format is invalid.