The migration script will make any database changes that our module requires. Since our module depends on the existence of two tables, we will write a migration script to create them.
migratecommand, specifying the path alias to the module migrations directory.
cd ~/projects/ch8/protected php yiic.php migrate create create_tables_job_queue --migrationPath=application.modules.jobQueue.migrations
The command will output a file named something like this:
The filename is the letter
m, followed by the UTC timestamp of the time the file is created, followed by the name you gave the command. ...