class DatabaseMigrationRepository implements MigrationRepositoryInterface
Properties
| protected ConnectionInterface | $connection | The name of the database connection to use. |
|
|
| protected string | $table | The name of the migration table. |
|
Methods
__construct(ConnectionInterface $connection, string $table)
Create a new database migration repository instance.
Details
at
line 36
__construct(ConnectionInterface $connection, string $table)
Create a new database migration repository instance.
at
line 48
array
getRan(string $extension = null)
Get the ran migrations.
at
line 64
void
log(string $file, string $extension = null)
Log that a migration was run.
at
line 78
void
delete(string $file, string $extension = null)
Remove a migration from the log.
at
line 96
bool
repositoryExists()
Determine if the migration repository exists.
at
line 108
protected Builder
table()
Get a query builder for the migration table.