The database table names ought to be plural, viz: MEDICINAL_DEVICES,
USERS etc. Cake is intelligent enough to handle plurals such as
COMPANIES (COMPANY).

In the model definitions, the model will be the capitalised singular
version of the tablename, e.g. User

Foreign keys are singular, e.g. user_id

All these things can be changed where required, but will generally
break the bake if they don't follow the convention.

see: http://book.cakephp.org/view/24/Model-and-Database-Conventions

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