Migrate

package

Default

Methods

__construct

__construct( $arguments) 

Arguments

$arguments

Install all the migration files

apply() 
throws

Get all migration files

getMigrationsFiles() : array
throws

Response

array

Get current version of database

getVersion() 

Initialize migration

init() 
throws

Generate new migration file

newMigration() 

Return to a specific version

rollback(string $version) 
throws

Arguments

$version

string

Version number

Set version of database

setVersion(string $version) : boolean

Arguments

$version

string

Version number

Response

boolean

Properties

Command line arguments

arguments : array
var

Command line arguments

Type(s)

array

migrateManager

migrateManager : 

Type(s)

table

table : 

Type(s)