Methods summary
public
|
#
log( string $bundle, string $name, integer $batch )
Log a migration in the migration table.
Log a migration in the migration table.
Parameters
- $bundle
string $bundle
- $name
string $name
- $batch
integer $batch
|
public
|
#
delete( string $bundle, string $name )
Delete a row from the migration table.
Delete a row from the migration table.
Parameters
- $bundle
string $bundle
- $name
string $name
|
public
array
|
#
last( )
Return an array of the last batch of migrations.
Return an array of the last batch of migrations.
Returns
array
|
public
array
|
#
ran( string $bundle )
Get all of the migrations that have run for a bundle.
Get all of the migrations that have run for a bundle.
Parameters
Returns
array
|
public
integer
|
#
batch( )
Get the maximum batch ID from the migration table.
Get the maximum batch ID from the migration table.
Returns
integer
|
protected
Laravel\Database\Query
|
#
table( )
Get a database query instance for the migration table.
Get a database query instance for the migration table.
Returns
|