Dear Team,
I installed yii2 basic application template and now i try to execute database migration but showing error message.
Error: Migration Failed. Directory specified in migrationpath doesn’t exist: @app/migration.
How to add db migration in yii2 basic template
patrickm
(Yiiframework)
2
What command did you use?
Thanks for your reply…crm applications which one is best basic or advanced.
patrickm
(Yiiframework)
5
Try manually creating the requested path.
yiim
6
Did you create the "migrations" folder?
If the folder doesn’t exist, you will get this errormessage.
http://www.yiiframework.com/forum/index.php/topic/67895-yii2-basic-framework-and-migration-suggestion/
If you run migrate with "create", the folder should be created automatically:
yii migrate/create xxx