Because I'd aim at using either sql dumps and possibly sql table update
statements (which I've done in the past) or cake generated schema files
(which should be the cake way).
cheers
Lorenzo
Miles J wrote:
> They require shells (or at least what I found). I recently had the
> same dilemma with my forum plugin as I wanted to build an install
> script and use the Schema classes. I just had to use plain SQL files.
>
> http://github.com/milesj/forum/blob/master/controllers/install_controller.php
>
> If someone has more information on this subject, that would be great.
>
> On Jan 24, 7:31 am, Lorenzo Bettini <bett...@dsi.unifi.it> wrote:
>> Hi
>>
>> I found
>>
>> http://book.cakephp.org/view/735/Generating-and-using-Schema-files
>>
>> which is cool to migrate database schemas with cake console; but I'd
>> like to migrate and apply schema (e.g., for installation and update
>> pages) from the application... can it be done?
>>
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
No comments:
Post a Comment