开发者

Cakephp migration - schema.php could not be loaded

Created schema file locally, using the cakephp console.

Commit/Push to repo with git.

From staging server, pull same branch.

Now, from cakephp console on staging server, trying to run "cake schema update" but get the following error;

Welcome to CakePHP v1.3.3 Console
------开发者_JAVA百科---------------------------------------------------------
App : app
Path: /var/site/app
---------------------------------------------------------------
Cake Schema Shell
---------------------------------------------------------------
Performing a dry run.
/var/site/app/config/schema/schema.php could not be loaded


For some reason I have to define the class name of the schema file, e.g.;

cake schema update App -f

Still not figured out how to run an update on a snapshot file :(

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜