1

Hello guys I am new to yii frame work and I am following larry ullman's instructions on the e-book. The problem I have is: when I'm creating new migration I keep on getting this error

The migration directory does not exists:application.migrations

I use the command : $ yiic migrate create <name>

Thank you guys for helping me understand yii.

4

1 回答 1

6

我注意到这个问题的答案已经在评论部分得到了回答,但其他人可能不会注意到。

简单总结一下:

  1. 你需要在目录yiic里面执行protected
  2. 目录yiic.bat里面应该有一个protected
  3. 在某些情况下,migration目录内的protected目录必须事先可用并且是可写的。
于 2013-07-20T08:08:01.913 回答