Yii 1.1.x Test DB Migration

I am building a site in yii-1.1.17.I want to set up migrations for test db so I would like to know which file should I configure;protected/console.php or protected/test.php or both.Please help.Thanks for taking the time to answer.