Methods |
public
|
getRan(): array
Get the completed migrations.
Get the completed migrations.
|
#
|
public
|
getMigrations(int $steps): array
Get the list of migrations.
Get the list of migrations.
|
#
|
public
|
getLast(): array
Get the last migration batch.
Get the last migration batch.
|
#
|
public
|
getMigrationBatches(): array
Get the completed migrations with their batch numbers.
Get the completed migrations with their batch numbers.
|
#
|
public
|
log(string $file, int $batch): void
Log that a migration was run.
Log that a migration was run.
|
#
|
public
|
delete(object $migration): void
Remove a migration from the log.
Remove a migration from the log.
|
#
|
public
|
getNextBatchNumber(): int
Get the next migration batch number.
Get the next migration batch number.
|
#
|
public
|
createRepository(): void
Create the migration repository data store.
Create the migration repository data store.
|
#
|
public
|
repositoryExists(): bool
Determine if the migration repository exists.
Determine if the migration repository exists.
|
#
|
public
|
deleteRepository(): void
Delete the migration repository data store.
Delete the migration repository data store.
|
#
|
public
|
setSource(string $name): void
Set the information source to gather data.
Set the information source to gather data.
|
#
|