From 957c98c9a966c23d74187df64d3c80f8c4daeed2 Mon Sep 17 00:00:00 2001 From: Antonio Ramirez Date: Wed, 14 Jun 2017 22:14:40 +0200 Subject: [PATCH] update documentation --- docs/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 464c1be..7898b20 100644 --- a/docs/index.md +++ b/docs/index.md @@ -56,7 +56,7 @@ you have deleted `m130524_201442_init.php` migration file which comes from the d 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 ``` @@ -92,6 +92,8 @@ is very convenient way to track new migration classes coming from this and possi > `./yii migrate --migrationPath=@yii/rbac/migrations`. > Also, namespaced migrations were introduced in Yii 2.0.10, so before using them consider updating your framework > installation version. +> If you are using a Yii 2 version prior to 2.0.10, you'll have to copy the migrations located on +> `vendor/2amigos/yii2-usuario/src/User/Migration`, remove its namespaces and add it to your @app/migrations folder. #### Step 3 - Configure