Property | Type | Description | |
---|---|---|---|
$db | the DB connection object or the application component ID of the DB connection to use when applying migrations.This can also be a configuration array for creating the object. | ||
$migrationPath | the directory storing the migration classes. This can be either a path alias or a directory. | ||
$migrationTable | the name of the table for keeping applied migration information. | ||
$templateFile |
Method | Description | |
---|---|---|
getDb ( ) : array | string | |
||
init ( ) |
Method | Description | |
---|---|---|
addMigrationHistory ( $version ) | ||
createMigrationHistoryTable ( ) | Creates the migration history table. | |
getMigrationHistory ( $limit ) | ||
removeMigrationHistory ( $version ) |
protected createMigrationHistoryTable ( ) |
public $db |
public $migrationPath |
public $migrationTable |