yii2-users icon indicating copy to clipboard operation
yii2-users copied to clipboard

Exception 'Error' with message 'Class 'm130524_201442_init' not found'

Open exvayn opened this issue 7 years ago • 4 comments

Migration dosnt work. cause: namespace budyaga\users\migrations;

my_project> yii migrate/up --migrationPath=@vendor/budyaga/yii2-users/migrations and i got

Yii Migration Tool (based on Yii v2.0.11.2)

Total 1 new migration to be applied:
        m130524_201442_init

Apply the above migration? (yes|no) [no]:y
*** applying m130524_201442_init
Exception 'Error' with message 'Class 'm130524_201442_init' not found'

in C:\..\my_project\vendor\yiisoft\yii2\console\controllers\MigrateController.php:191

exvayn avatar May 20 '17 18:05 exvayn

Just comment or delete namespace in migration file

skeef avatar Jun 27 '17 16:06 skeef

@krivochenko why don't u commit this small issue ? Thanks ;)

paskuale75 avatar Mar 28 '18 08:03 paskuale75

Unfortunately I don't know how to do this :(

skeef avatar Mar 29 '18 08:03 skeef

Solution: extend all module ;)

paskuale75 avatar Mar 29 '18 20:03 paskuale75