Manages single-run patches/migrations.
Fire the AppliedMigrationEvent.
Apply a single migration.
Fire the ApplyingMigrationEvent.
Given a list of migration identifiers, filter out those that have been applied.
Given a list of migration identifiers, filter out those that have not been applied.
Get all registered migrations, by their string-form identifiers.
Get the identifiers of the last group of migrations that were applied.
Do any initial setup required to get the migrator ready. This can be overridden by implementation classes to do any necessary setup.
Apply pending migrations.
If identifiers are specified, only the pending migrations with those identifiers are applied. If none are specified, all pending migrations will be applied.
Rollback applied migrations.
If specified, only applied migrations with the given identifiers will be rolled back. If not specified, then the last "batch" of applied migrations will be rolled back.
Fire the RolledBackMigrationEvent.
Fire the RollingBackMigrationEvent.
Rollback a single migration.