I am trying to install a custom module in my Yii based application. To do this, I need to transfer files from:
webapp/protected/modules/user/migrations
I try to run yiic migrate --migrationPath=user.migrations , but I get an error:
the migration directory does not exist: user.migrations
I read that I need to configure user.migrations as an alias, but I don't know how to do it.
I also read that the default folder for migration is determined by the basePath value set in the main configuration file ( protected/config/main.php ). I changed it and it still does not work correctly.
What could be wrong?
Webquube
source share