i have my migration file in console\migrations
command "yii migration" showed my migrations list successfully but after selecting yes for doing migrations, it returned following error:
PHP Fatal error: Class 'm130524_162548_init' not found in C:\xampp\htdocs\shopC
enter\vendor\yiisoft\yii2\console\controllers\MigrateController.php on line 117
thanks in advance…
Do you have such file? What’s the class inside it?
this is the default migration that yii2advanced has for user model
i didnt change it at all, only once rename it and undo
Well, most probably this undo went wrong.
i created a new project and copied its migration file to my project
i think it was the most worst way but my problem solved
thanks for you time and reply
by the way, why undo the renamed file didnt work? what is the reason?
Either your cat or your editor/IDE.