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