MIgrations

Olá pessoal.

Estou tendo problema quando executo o comando yii migrate create create_user_table para criar uma nova migração.

Apreçe a seguinte mesnagem:

Parse error: syntax error, unexpected ‘/’ in /home/renato/projetos/fullingyork/framework/cli/commands/ShellCommand.php(150) : eval()'d code on line 1

Call Stack:

0.0002     331560   1. {main}() /home/renato/projetos/fullingyork/protected/yiic:0


0.0003     334124   2. require_once('/home/renato/projetos/fullingyork/protected/yiic.php') /home/renato/projetos/fullingyork/protected/yiic:4


0.0006     343936   3. require_once('/home/renato/projetos/fullingyork/framework/yiic.php') /home/renato/projetos/fullingyork/protected/yiic.php:8


0.0084    1210676   4. CApplication->run() /home/renato/projetos/fullingyork/framework/yiic.php:33


0.0084    1210676   5. CConsoleApplication->processRequest() /home/renato/projetos/fullingyork/framework/base/CApplication.php:155


0.0084    1210676   6. CConsoleCommandRunner->run() /home/renato/projetos/fullingyork/framework/console/CConsoleApplication.php:88


0.0098    1374080   7. ShellCommand->run() /home/renato/projetos/fullingyork/framework/console/CConsoleCommandRunner.php:63


0.0164    2081604   8. ShellCommand->runShell() /home/renato/projetos/fullingyork/framework/cli/commands/ShellCommand.php:99

Tenta rodar assim…

Vai na pasta que você fez instalação da aplicação yii e executa

./protected/yiic migrate create create_user_table

Yii Migration Tool v1.0 (based on Yii v1.1.8)

Create new migration ‘.../protected/migrations/m110716_143409_create_user_table.php’? [yes|no]

Abraço