Yii2 Basic application template

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

What command did you use?

$ php yii migrate…

Thanks for your reply…crm applications which one is best basic or advanced.

Try manually creating the requested path.

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