Close #87 fix docs
This commit is contained in:
@ -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',
|
||||
],
|
||||
|
||||
@ -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',
|
||||
],
|
||||
],
|
||||
],
|
||||
// ...
|
||||
|
||||
Reference in New Issue
Block a user