'accounts-console', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'controllerNamespace' => 'console\controllers', 'params' => $params, 'components' => [ 'log' => [ 'targets' => [ [ 'class' => yii\log\FileTarget::class, 'levels' => ['error', 'warning'], ], ], ], ], 'controllerMap' => [ 'migrate' => [ 'class' => yii\console\controllers\MigrateController::class, 'templateFile' => '@console/views/migration.php', ], ], ];