> Is there a way that I can generate app/config/schema PHP files from
> the SQL or MySQL database tables? I tried "cake schema generate node"
> from the console (node being the name of the table I wanted to pick
> up). But that just gives me the "blogs" table that ships as an example
> in CakePHP.
The following command will dump the whole schema by looking at the DB,
rather then the models.
cake schema generate -f
--
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:
Post a Comment