Hi!

I'm having a dilema, maybe the better word is that I'm puzzled.

The problem is when I'm baking models. The console doesn't detect
relations between tables automatically. For instance, the console does
recognize all the tables from the database, but when it's triying to
detect associations it comes up with the result like on the end of
this post or just skips to 'Look okay?'. It the noted example on end
of the post, I manage to create a complete model (with association to
user), but association among other models fails.

So my question's are:

1. Am I breaking some convetions and it's not working?
2. Could it be that I'm using InnoDB type?
3. Anything else?

Any kind of sugestions is appreciated. Thnx.


Possible Models based on your current database:
1. DocumentsDevice
2. Group
3. InvestigationalSite
4. Investigator
5. Manufacturer
6. MedicinalDevice
7. MedicinalProduct
8. ReportDevice
9. ReportProduct
10. SoaDevice
11. SoaProduct
12. User
Enter a number from the list above, type in the name of another model,
or 'q' to
 exit
[q] > 2
Would you like to supply validation criteria for the fields in your
model? (y/n)

[y] > n
Would you like to define model associations (hasMany, hasOne,
belongsTo, etc.)?
(y/n)
[y] > y
One moment while the associations are detected.
---------------------------------------------------------------
Please confirm the following associations:
---------------------------------------------------------------
Would you like to define some additional model associations? (y/n)
[n] >
------------------------------------------------------------------------------------------------------------------------


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to