Tuesday, April 26, 2011

Re: cake schema update wants to alter the whole database

On Tue, Apr 26, 2011 at 11:45 PM, Simon Males <sime@sime.net.au> wrote:
> 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

There is a touch of missing documentation, like generate, update also
accepts the -f parameter. Schema update performs as expected when
applied.

I have issued a pull request which contains appropriate documentation.

https://github.com/sime/cakephp/commit/7feaa0f5a2632c5b453a95c0390332817053d8a4

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: