Class EMigrateCommand
EMigrateCommand manages the database migrations.
- CComponent
- CConsoleCommand
- MigrateCommand
- EMigrateCommand
Version: 0.7.1
Located at yiiext/migrate-command/EMigrateCommand.php
Methods summary
public
array
|
|
public
|
|
public
array
|
|
public
|
|
public
array
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
string
|
|
protected
|
Methods inherited from MigrateCommand
actionHistory()
,
actionNew()
,
actionRedo()
,
confirm()
,
createMigrationHistoryTable()
,
getDbConnection()
Methods inherited from CConsoleCommand
__construct()
,
afterAction()
,
behaviors()
,
buildFileList()
,
copyFiles()
,
ensureDirectory()
,
getCommandRunner()
,
getName()
,
getOptionHelp()
,
init()
,
onAfterAction()
,
onBeforeAction()
,
pluralize()
,
prompt()
,
renderFile()
,
resolveRequest()
,
run()
,
usageError()
Methods inherited from CComponent
__call()
,
__get()
,
__isset()
,
__set()
,
__unset()
,
asa()
,
attachBehavior()
,
attachBehaviors()
,
attachEventHandler()
,
canGetProperty()
,
canSetProperty()
,
detachBehavior()
,
detachBehaviors()
,
detachEventHandler()
,
disableBehavior()
,
disableBehaviors()
,
enableBehavior()
,
enableBehaviors()
,
evaluateExpression()
,
getEventHandlers()
,
hasEvent()
,
hasEventHandler()
,
hasProperty()
,
raiseEvent()
Magic methods summary
Constants summary
Constants inherited from MigrateCommand
BASE_MIGRATION
Properties summary
public
string|null
|
$module |
#
the current module(s) to use for current command (comma separated list) defaults to null which means all modules are used examples: --module=core --module=core,user,admin |
public
string
|
$applicationModuleName |
#
the application core is handled as a module named 'core' by default |
public
string
|
$moduleDelimiter |
#
delimiter for modulename and migration name for display |
public
string
|
$migrationSubPath |
#
subdirectory to use for migrations in Yii alias format this is only used if
you do not set modulePath explicitly |
Properties inherited from MigrateCommand
$connectionID
,
$defaultAction
,
$interactive
,
$migrationPath
,
$migrationTable
,
$templateFile
Magic properties
public
array|null
|
$modulePaths |
|
#
list of all modules |
public
array
|
$enabledModulePaths |
|
#
list of all enabled modules |
public
array
|
$disabledModules |
|
#
list of all disabled modules names |
Magic properties inherited from CConsoleCommand
$commandRunner
,
$help
,
$name
,
$optionHelp