solved. Thanks to this link found 2 minuts after my post. https://trac.cakephp.org/attachment/ticket/3265/ticket3265_ugly_but_working_bake.diff
Hope is useful for someone else. bye, mcphisto On 23 Ott, 23:56, mcphisto <[EMAIL PROTECTED]> wrote: > Hi, > I've a problem baking all my models in my DB. The problem is that bake > doesn't recognize the names of fields in my DB. I respected the cake > convention. So I have a table called "customers" with 10 fileds. In > this 10 fields there are 2 in particular: 'id' and 'contact_id'. In my > table called "contacts" i've 10 fields and one of these is 'id'. So, > when bake asks me if I want to define model associations, and I select > yes, id doesn't find any associations. If I try to do it manually, id > doesn't even read the names of the field, but it reads the type > (string, int, etc.). Strange! > > Anyone can help me? > > I'm using version 1.1.17.5612 > > 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 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 -~----------~----~----~----~------~----~------~--~---