return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'cache' => [
'class' => 'yii\caching\FileCache',
],
],
'bootstrap' => [
'user-manager',
],
'modules' => [
'user-manager' => [
'class' => 'common\modules\UserManager\Module',
'plugins' => ['profile'],
],
],
'controllerMap' => [
'migrate-app' => [
'class' => 'yii\console\controllers\MigrateController',
//'migrationNamespaces' => [''],
'migrationTable' => 'migration',
],
'migrate-module' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationNamespaces' => [
'common\modules\UserManager\migrations',
'common\modules\UserManager\modules\Profile\migrations'
],
'migrationTable' => 'migration_user_manager',
],
],
];