This is not really possible using just the class information alone - the fields are dynamically read from the database, and not hardcoded into the class. You could probably have your table names and key fields generated, but personally I don't really see the point. If you use a mysql gui such as navicat or cocoamysql, it takes almost no time to setup your tables.
Cheers Adam On Feb 14, 10:30 am, wilson <[EMAIL PROTECTED]> wrote: > Hi, > > I heard a developer friend mention once that he heard of CakePHP > considering sort of a 'reverse baking' technique, in that the database > structure is created automatically from the model relationships. > > Could anyone verify this? And if true point me to the thread, it > sounds very interesting and I didn't find it when I searched. > > Thanks! > WS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---