Technically mine doesnt use foreign keys either. CakePHP has a built in system where it will match a key in another table using associations.
So if I have a column named country_id in my users table, and set an association with users table to the countries table, cake will automatically determine that the country_id is a foreign key to the countries table id column. All you need to do is set the primary and index keys on your columns. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
