Method |
Description |
|
__construct ( CLIFramework\Logger $logger = null, $dsIds ) |
|
|
getDowngradeScripts ( Connection $conn, BaseDriver $driver ) |
|
|
getLastMigrationId ( Connection $conn, BaseDriver $driver ) |
|
|
getUpgradeScripts ( Connection $conn, BaseDriver $driver ) |
Each data source has it's own migration timestamp,
we use the data source ID to get the migration timestamp
and filter the migration script. |
|
load ( $directory ) |
Load migration script from specific directory. |
|
loadMigrationScripts ( ) |
|
|
resetMigrationId ( Connection $conn, BaseDriver $driver ) |
|
|
runDowngrade ( Connection $conn, BaseDriver $driver, array $scripts = null, $steps = 1 ) |
Run downgrade scripts. |
|
runUpgrade ( Connection $conn, BaseDriver $driver, array $scripts = null ) |
Run upgrade scripts. |
|
runUpgradeAutomatically ( Connection $conn, BaseDriver $driver, array $schemas, OptionResult $options = null ) |
|
|
updateLastMigrationId ( Connection $conn, BaseDriver $driver, $id ) |
|
|