I have just started with YII and I am trying to create a new migration. I am using Xampp and it is located in the d drive of my system.
The command that I am trying to use is:
D:xamppphp> d:xampphtdocsyiiframeworkyiic migrate create create_project_table
When I run the above command nothing happens, neither do I get an error message nor there is any error.
I did manage to successfully create a shell by using
D:xamppphp> d:xampphtdocsyiiframeworkyiic shell d:xampphtdocstrackstarindex.php
I tried to search for any solution for the migration issue but they all seem to be linux based. Please let me know what I am missing here. Thanks for your help.
Advertisement
Answer
I managed to create the migration sucessfully. Turns out that I needed to use the yiic located in the protected folder of my application instead of the yiic located in framework folder of yii. The command that I used is
D:xamppphp>D:xampphtdocstrackstarprotectedyiic migrate create create_project_table