Property | Type | Description | |
---|---|---|---|
$migrationFileDirs | Directory where the migrations should be looked up | ||
$moduleMigrationDirectories | Module migration directories |
Method | Description | |
---|---|---|
actionCreate ( string $name, string | boolean $module = false ) | Create new migration, first param the name, second param the module where the migration should be put in. | |
beforeAction ( $action ) | initModuleMigrationDirectories beforing runing the action. |
Method | Description | |
---|---|---|
createMigration ( $class ) | Create a migration based on its class name. | |
getNewMigrations ( ) : array | Returns the migrations that are not applied. |
Method | Description | |
---|---|---|
getModuleMigrationDirectorie ( $module ) | ||
initModuleMigrationDirectories ( ) |
public beforeAction ( $action ) |
protected createMigration ( $class ) |
protected getNewMigrations ( ) : array | ||
return | array | list of new migrations |
public $migrationFileDirs |