DatabaseMigrationRepository
class DatabaseMigrationRepository extends DatabaseMigrationRepository
Properties
protected | $group |
Methods
Get the ran migrations.
Log that a migration was run.
Create the migration repository data store.
Delete the migration repository data store.
Get a query builder for the migration table.
Remove a migration from the log.
Get the module or extension the migration belongs to.
Set the module or extension the migration belongs to.
Details
at line 16
array
getRan()
Get the ran migrations.
at line 33
void
log(string $file, int $batch)
Log that a migration was run.
Overrides the parent method and allows insertion of group data
at line 44
void
createRepository()
Create the migration repository data store.
at line 72
void
deleteRepository()
Delete the migration repository data store.
at line 82
protected Builder
table()
Get a query builder for the migration table.
at line 97
void
delete(object $migration)
Remove a migration from the log.
at line 110
string
getGroup()
Get the module or extension the migration belongs to.
at line 122
void
setGroup(string $name)
Set the module or extension the migration belongs to.