Why does the migration of rbac?

I did as in the documentation and added console/config/main.php code
'components' => [
 'authMeneger' => [
 'class' => 'yii\rbac\DbManager',
 'log' => [
 'targets' => [
 'class' => 'yii\log\FileTarget',
 'levels' => ['error', 'warning'],

But I have an error
C:\OpenServer\domains\hostTraining>yii migrate --migrationPath=@yii/rbac/migrations
Yii Migration Tool (based on Yii v2.0.13.1)

Total 2 new migrations to be applied:

Apply the above migrations? (yes|no) [no]:yes
*** applying m140506_102106_rbac_init
Exception 'yii\base\InvalidConfigException' with message 'You should configure "authManager" component to use database before executing this migration.'

in C:\OpenServer\domains\hostTraining\vendor\yiisoft\yii2\rbac\migrations\m140506_102106_rbac_init.php:27

How to get rid of this problem?
June 8th 19 at 16:44
1 answer
June 8th 19 at 16:46
authManager need
authMeneger in fact in the config

Find more questions by tags Yii