PHP 클래스 dektrium\rbac\commands\MigrateController

저자: Dmitry Erofeev ([email protected])
상속: extends yii\console\controllers\BaseMigrateController
파일 보기 프로젝트 열기: dektrium/yii2-rbac

공개 프로퍼티들

프로퍼티 타입 설명
$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 | Connection
init ( )

보호된 메소드들

메소드 설명
addMigrationHistory ( $version )
createMigrationHistoryTable ( ) Creates the migration history table.
getMigrationHistory ( $limit )
removeMigrationHistory ( $version )

메소드 상세

addMigrationHistory() 보호된 메소드

protected addMigrationHistory ( $version )

createMigrationHistoryTable() 보호된 메소드

Creates the migration history table.

getDb() 공개 메소드

public getDb ( ) : array | string | Connection
리턴 array | string | yii\db\Connection

getMigrationHistory() 보호된 메소드

protected getMigrationHistory ( $limit )

init() 공개 메소드

public init ( )

removeMigrationHistory() 보호된 메소드

protected removeMigrationHistory ( $version )

프로퍼티 상세

$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.
public $db

$migrationPath 공개적으로 프로퍼티

the directory storing the migration classes. This can be either a path alias or a directory.
public $migrationPath

$migrationTable 공개적으로 프로퍼티

the name of the table for keeping applied migration information.
public $migrationTable

$templateFile 공개적으로 프로퍼티

public $templateFile