프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
getDb ( ) : array | string | |
||
init ( ) |
메소드 | 설명 | |
---|---|---|
addMigrationHistory ( $version ) | ||
createMigrationHistoryTable ( ) | Creates the migration history table. | |
getMigrationHistory ( $limit ) | ||
removeMigrationHistory ( $version ) |
protected createMigrationHistoryTable ( ) |
public $db |
public $migrationPath |
public $migrationTable |