Class Socialveo\Tasks\MigrationTask

InheritanceSocialveo\Tasks\MigrationTask » Phalcon\CLI\Task

Class MigrationTask

Public Methods

Hide inherited methods

MethodDescriptionDefined By
createAction() Create migration Socialveo\Tasks\MigrationTask
mainAction() Run all migrations Socialveo\Tasks\MigrationTask
runAction() Run migration Socialveo\Tasks\MigrationTask

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
execMigration() Execute migration file Socialveo\Tasks\MigrationTask

Method Details

createAction() public method

Create migration

public void createAction ( $options = [] )
$options array
execMigration() protected method

Execute migration file

protected void execMigration ( $namespace, $version, $options )
$namespace string
$version string
$options array
mainAction() public method

Run all migrations

public void mainAction ( $options = [] )
$options array
runAction() public method

Run migration

public void runAction ( $options = [] )
$options array