Unless you have associations set up in your models, you won't need to update them at all. You can also use Bake, you create your tables using a tool like phpMyAdmin, then you run the bake script from the command line (or terminal if you're on linux) and tell it to bake a model for you, it will list the tables in the database and then you simply select one and it will create a new model for you. Remember though, that it will overwrite any models you currently have, so remember to backup your app directory.
On Oct 7, 1:22 pm, Comida411 <[EMAIL PROTECTED]> wrote: > L > Thank you for he response.. but I am looking for an automated solution > for generating models from mysql ... Each time I make a change to my > db I would like to be able to run some xript that would thne update my > models.. it would decrease frequency of bugs... > Please advise.. > Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
