console\controllers\BaseMigrateController $migrationNamespaces

$migrationNamespaces public property (available since version 2.0.10)

List of namespaces containing the migration classes.

Migration namespaces should be resolvable as a path alias if prefixed with @, e.g. if you specify the namespace app\migrations, the code Yii::getAlias('@app/migrations') should be able to return the file path to the directory this namespace refers to.

For example:

[
    'app\migrations',
    'some\extension\migrations',
]
doc_Yii
2016-10-30 16:54:56
Comments
Leave a Comment

Please login to continue.