Close #87 fix docs

This commit is contained in:
Antonio Ramirez
2017-10-22 21:44:53 +02:00
parent 23406e0309
commit d812a301ec
3 changed files with 13 additions and 2 deletions

View File

@ -19,6 +19,7 @@
- Enh #70: Allow permission-permission parent-child relationship (Philosoft)
- Enh #82: Updated Polish translation (bizley)
- Enh #83: Updated Russian translation (Katenkka)
- Fix #87: Fix wrong documentation info (tonydspaniard)
## 1.0.13 - August 12, 2017
- Fix #49: Fix wrong call of method make() for set attributes (MKiselev)

View File

@ -57,7 +57,8 @@ which comes from the default installation of the Advanced Application Template.
There are two ways to apply migrations of this extension, the first one:
```php
./yii migrate --migrationPath="@Da/User/Migration"
./yii migrate --migrationNamespaces=Da\\User\\Migration
./yii migrate --migrationPath=@yii/rbac/migrations
./yii migrate
```
@ -75,6 +76,10 @@ return [
'controllerMap' => [
'migrate' => [
'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' => [
'Da\User\Migration',
],

View File

@ -45,7 +45,8 @@ which comes from the default installation of the Advanced Application Template.
There are two ways to apply migrations of this extension, the first one:
```php
./yii migrate --migrationPath="@Da/User/Migration"
./yii migrate --migrationNamespaces=Da\\User\\Migration
./yii migrate --migrationPath=@yii/rbac/migrations
./yii migrate
```
@ -66,6 +67,10 @@ return [
'migrationNamespaces' => [
'Da\User\Migration',
],
'migrationPath' => [
'@app/migrations',
'@yii/rbac/migrations',
],
],
],
// ...