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

@ -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',
],