Langdon, Sure no problem...
For example users table comments table. Create a 1:n association from users table to comments table. This will create a users_id in the comments table. Double click the link between them. The edit screen should allow you to change users_id to user_id. On 1/7/07, Langdon Stevenson <[EMAIL PROTECTED]> wrote:
Hi Larry This question is way off topic for the list so feel free to ignore/delete/reply off list. I would have asked it on the FabForce support forum, but is has been closed down due to attacks :-( I have also scoured Google without luck on this topic. I have hit a snag with DBDesigner and foreign keys and Cake. As my tables are named in the Cake convention: model_names I am getting foreign keys called: model_names_id rather than model_name_id Having looked at your output for the Bakery here: http://phpnut.cakephp.org/img/roundtable.png it looks like you have managed to get around this issue. I have scoured settings in DBDesigner, but can't figure it out. If there is a trick, perhaps you could share it with the list? Regards, Langdon Langdon Stevenson wrote: > > Thanks for that post Larry, I am checking out DbDesigner. Should be a > good addition to my tool set. > > Regards, > Langdon > > >> I also wrote a script that will parse the DbDesigner xml file and >> create a list of associations . Right now it only works when >> associations are noted as the Bakery. If I find the time I may convert >> it to use the simple notation used in the blog diagrams above. >
-- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---