Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cakephp migration - schema.php could not be loaded

Tags:

cakephp

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
---------------------------------------------------------------
App : app
Path: /var/site/app
---------------------------------------------------------------
Cake Schema Shell
---------------------------------------------------------------
Performing a dry run.
/var/site/app/config/schema/schema.php could not be loaded
like image 436
robmcvey Avatar asked Jan 04 '11 11:01

robmcvey


1 Answers

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 :(

like image 69
robmcvey Avatar answered Sep 29 '22 08:09

robmcvey