Hi Carlosz, #1. I find using a gui db program is much quicker than defining everything in a text file. I use navicat and it's awesome.
However... #2. CakePHP does have a thing called CakeSchema, which can be used to generate table structures from a file definition. For more info, look at the cookbook. http://book.cakephp.org/view/734/Schema-management-and-migrations Cheers, Adam On Jan 24, 5:33 pm, carlosz <[email protected]> wrote: > Hi all, I've just seen this python project:http://elixir.ematia.de/trac/wiki > which uses models to create the database tables and their > relationships and I was wondering if something like that could be done > in cake (or already exists?). > > Maybe not writing it in the actual models, but something you could > feed to the console (like a file with an array) so cake generates the > tables and join tables, and then follow with bake for the models, etc. > > Something like that, for the starters at least, would make cake even > easier than... cake :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
