Fix #59 add instructions to add rbac migration path

This commit is contained in:
Antonio Ramirez
2017-10-15 18:25:41 +02:00
parent e002109568
commit df3188f69a
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# CHANGELOG # CHANGELOG
## 1.0.14 - Work in progress ## 1.0.14 - Work in progress
- Fix #59: Add instructions to add rbac migration path (tonydspaniard)
- Fix #68: Fix user events documentation and events raised from User model (tonydspaniard) - Fix #68: Fix user events documentation and events raised from User model (tonydspaniard)
- Fix #69: Log level when user can't register should be L_ERROR (tonydspaniard) - Fix #69: Log level when user can't register should be L_ERROR (tonydspaniard)
- Enh #81: Update `AccessRuleFilter` to evaluate `roleParams` (kartik-v) - Enh #81: Update `AccessRuleFilter` to evaluate `roleParams` (kartik-v)

View File

@ -77,6 +77,10 @@ return [
'controllerMap' => [ 'controllerMap' => [
'migrate' => [ 'migrate' => [
'class' => \yii\console\controllers\MigrateController::class, 'class' => \yii\console\controllers\MigrateController::class,
'migrationPath => [
'@app/migrations',
'@yii/rbac/migrations', // Just in case you forgot to run it on console (see next note)
],
'migrationNamespaces' => [ 'migrationNamespaces' => [
'Da\User\Migration', 'Da\User\Migration',
], ],