Closed taita-wizard closed 7 years ago
Thanks for posting in our issue tracker. In order to properly assist you, we need additional information:
Thanks!
This is an automated comment, triggered by adding the label status:need more info
.
Since 2.0.10 yii2 has namespaced migrations.
http://www.yiiframework.com/doc-2.0/guide-db-migrations.html#modifying-migration-history
So, if I want use this
return [
'controllerMap' => [
'migrate' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationNamespaces' => [
'app\migrations',
],
],
],
I can't do that with standard yii2 migrations, and should install them separately
php yii migrate --migrationPath=@yii/rbac/migrations php yii migrate --migrationPath=@yii/web/migrations
All you need to add nsamespace to this migrations.
Issue is related to yiisoft/yii2 repository. There is a good one already: https://github.com/yiisoft/yii2/issues/13918
Thank you
yii\rbac\migrations yii\web\migrations