interface Illuminate / Database / Migrations / MigrationRepositoryInterface

MigrationRepositoryInterface

Methods

public

getRan ( ) : array

Get the completed migrations.

public

getMigrations ( $steps ) : array

Get the list of migrations.

Parameters

  • $steps int
public

getMigrationsByBatch ( $batch ) : array

Get the list of the migrations by batch.

Parameters

  • $batch int
public

getLast ( ) : array

Get the last migration batch.

public

getMigrationBatches ( ) : array

Get the completed migrations with their batch numbers.

public

log ( $file , $batch ) : void

Log that a migration was run.

Parameters

  • $file string
  • $batch int
public

delete ( $migration ) : void

Remove a migration from the log.

Parameters

  • $migration object
public

getNextBatchNumber ( ) : int

Get the next migration batch number.

public

createRepository ( ) : void

Create the migration repository data store.

public

repositoryExists ( ) : bool

Determine if the migration repository exists.

public

deleteRepository ( ) : void

Delete the migration repository data store.

public

setSource ( $name ) : void

Set the information source to gather data.

Parameters

  • $name string