Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
exvayn opened this issue May 20, 2017 · 4 comments
Open

Comments

@exvayn
Copy link

exvayn commented May 20, 2017

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
@skeef
Copy link

skeef commented Jun 27, 2017

Just comment or delete namespace in migration file

@paskuale75
Copy link

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

@skeef
Copy link

skeef commented Mar 29, 2018

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

@paskuale75
Copy link

Solution: extend all module ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants