class DatabaseMigrationRepository extends DatabaseMigrationRepository

Properties

protected $group

Methods

array
getRan()

Get the ran migrations.

void
log(string $file, int $batch)

Log that a migration was run.

void
createRepository()

Create the migration repository data store.

void
deleteRepository()

Delete the migration repository data store.

Builder
table()

Get a query builder for the migration table.

void
delete(object $migration)

Remove a migration from the log.

string
getGroup()

Get the module or extension the migration belongs to.

void
setGroup(string $name)

Set the module or extension the migration belongs to.

Details

at line 16
array getRan()

Get the ran migrations.

Return Value

array

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

Parameters

string $file
int $batch

Return Value

void

at line 44
void createRepository()

Create the migration repository data store.

Return Value

void

at line 72
void deleteRepository()

Delete the migration repository data store.

Return Value

void

at line 82
protected Builder table()

Get a query builder for the migration table.

Return Value

Builder

at line 97
void delete(object $migration)

Remove a migration from the log.

Parameters

object $migration

Return Value

void

at line 110
string getGroup()

Get the module or extension the migration belongs to.

Return Value

string

at line 122
void setGroup(string $name)

Set the module or extension the migration belongs to.

Parameters

string $name

Return Value

void