Close #87 fix docs
This commit is contained in:
@ -19,6 +19,7 @@
|
|||||||
- Enh #70: Allow permission-permission parent-child relationship (Philosoft)
|
- Enh #70: Allow permission-permission parent-child relationship (Philosoft)
|
||||||
- Enh #82: Updated Polish translation (bizley)
|
- Enh #82: Updated Polish translation (bizley)
|
||||||
- Enh #83: Updated Russian translation (Katenkka)
|
- Enh #83: Updated Russian translation (Katenkka)
|
||||||
|
- Fix #87: Fix wrong documentation info (tonydspaniard)
|
||||||
|
|
||||||
## 1.0.13 - August 12, 2017
|
## 1.0.13 - August 12, 2017
|
||||||
- Fix #49: Fix wrong call of method make() for set attributes (MKiselev)
|
- Fix #49: Fix wrong call of method make() for set attributes (MKiselev)
|
||||||
|
|||||||
@ -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:
|
There are two ways to apply migrations of this extension, the first one:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
./yii migrate --migrationPath="@Da/User/Migration"
|
./yii migrate --migrationNamespaces=Da\\User\\Migration
|
||||||
|
./yii migrate --migrationPath=@yii/rbac/migrations
|
||||||
./yii migrate
|
./yii migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -75,6 +76,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',
|
||||||
],
|
],
|
||||||
|
|||||||
@ -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:
|
There are two ways to apply migrations of this extension, the first one:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
./yii migrate --migrationPath="@Da/User/Migration"
|
./yii migrate --migrationNamespaces=Da\\User\\Migration
|
||||||
|
./yii migrate --migrationPath=@yii/rbac/migrations
|
||||||
./yii migrate
|
./yii migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -66,6 +67,10 @@ return [
|
|||||||
'migrationNamespaces' => [
|
'migrationNamespaces' => [
|
||||||
'Da\User\Migration',
|
'Da\User\Migration',
|
||||||
],
|
],
|
||||||
|
'migrationPath' => [
|
||||||
|
'@app/migrations',
|
||||||
|
'@yii/rbac/migrations',
|
||||||
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
// ...
|
// ...
|
||||||
|
|||||||
Reference in New Issue
Block a user