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 :(
精彩评论