DatabaseMigrationRepository
class DatabaseMigrationRepository implements MigrationRepositoryInterface (View source)
Methods
| void | __construct(ConnectionResolverInterface $resolver, string $table) Create a new database migration repository instance. | |
| array | getRan() Get the ran migrations. | |
| array | getMigrations(int $steps) Get list of migrations. | |
| array | getLast() Get the last migration batch. | |
| void | log(string $file, int $batch) Log that a migration was run. | |
| void | delete(object $migration) Remove a migration from the log. | |
| int | getNextBatchNumber() Get the next migration batch number. | |
| int | getLastBatchNumber() Get the last migration batch number. | |
| void | createRepository() Create the migration repository data store. | |
| bool | repositoryExists() Determine if the migration repository exists. | |
| ConnectionResolverInterface | getConnectionResolver() Get the connection resolver instance. | |
| Connection | getConnection() Resolve the database connection instance. | |
| void | setSource(string $name) Set the information source to gather data. |
Please login to continue.