Hello,

I'm attempting to version my sites schema, by running the following command:

$ cake -connection dev schema generate -f

Which AFAIK generates an appropriate schema.php. To test the newly
generated schema I attempt an update:

$ cake -connection dev schema update

Here I expect a 'Schema is up to date message', instead the console
attempts to ALTER every table and column. A similar behavior has been
documented in the below link.

http://cakebaker.42dh.com/2008/04/13/migrations-the-cakephp-way/#comment-131951

I'm either missing what generate/update is meant to be used for or I'm
doing something wrong.

-- 
Simon Males

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to