Hello.

I am new in cakephp, but I work with Ruby on Rails. So I am finding
tool like migrations which are implemented in RoR "rake db:migrate"...
In cakephp is "cake schema updage"... But I think that this is not the
same feature.

For example: Threre are 10 programmers which work on the same project.
In RoR each programer can generate new migration which will have
unique id (generated from current date and time
201111111234_create_users.rb). When I download project from version
control system. I can run rake db:migrate without fear and rake will
execute all migrations consecutively based on migrations create date.
I don't have to take care if the table will be created, deleted or
updated. And everything works perfectly.

In cakephp "cake schema generate" generates new schema file with
suffix (snapshot number). But what if at one time more developers
create new schema? There will be two files with the same suffix in the
project and we have conflict in project, so we need solve it...

Is there some better documentation for schemas? There are undocumented
parts for schema class - before and after functions... And some
examples howto use it in project with more programmers. Howto create
new table, delete old table...

Thank you for your help.

Myth Rush

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