Open mohdbashir opened 9 years ago
to fix error: 1) in vendor\vova07\yii2-users-module\migrations\m14041 8_204054_create_module_tbl.php delete line:6 'use Yii;' 2) use only command php yii migrate --migrationPath=@vova07/users/migrations but not(error in windows): yii.bat migrate --migrationPath=@vova07/users/migrations
When we run the migration command it show error "*\ applying m140418_204054_create_module_tbl PHP Warning 'yii\base\ErrorException' with message 'The use statement with non-c ompound name 'yii' has no effect'
in F:\test\htdocs\demoadvanced\vendor\vova07\yii2-users-module\migrations\m14041 8_204054_create_module_tbl.php:6 "
To fix this you should comment the line no. 6 which is use yii;