Methods summary
public
|
|
public
|
#
run( array $arguments = array() )
Run a database migration command.
Run a database migration command.
Parameters
- $arguments
array $arguments
|
public
|
#
migrate( string $bundle = null, integer $version = null )
Run the outstanding migrations for a given bundle.
Run the outstanding migrations for a given bundle.
Parameters
- $bundle
string $bundle
- $version
integer $version
|
public
boolean
|
#
rollback( array $arguments = array() )
Rollback the latest migration command.
Rollback the latest migration command.
Parameters
- $arguments
array $arguments
Returns
boolean
|
public
|
#
reset( array $arguments = array() )
Rollback all of the executed migrations.
Rollback all of the executed migrations.
Parameters
- $arguments
array $arguments
|
public
|
#
rebuild( )
Reset the database to pristine state and run all migrations
Reset the database to pristine state and run all migrations
|
public
|
#
install( )
Install the database tables used by the migration system.
Install the database tables used by the migration system.
|
public
string
|
#
make( array $arguments = array() )
Generate a new migration file.
Generate a new migration file.
Parameters
- $arguments
array $arguments
Returns
string
|
protected
string
|
#
stub( string $bundle, string $migration )
Get the stub migration with the proper class name.
Get the stub migration with the proper class name.
Parameters
- $bundle
string $bundle
- $migration
string $migration
Returns
string
|
protected
string
|
#
display( array $migration )
Get the migration bundle and name for display.
Get the migration bundle and name for display.
Parameters
- $migration
array $migration
Returns
string
|