Friday, January 27, 2012

database concentions cake bake all

hi,

i am thinking that i misunderstood the cake conventions. i created a
database with about 40 tables. every time i try to use cake bake all i
get the error message, that some tables are missing.

For example
Table users (FK here is user_group_id)
Table user_groups

cake bake all tell me that table users_groups ist missing. I dont want
to have a hbtm table construct here.

For my understanding: If i use users_groups instead, do i have to set
the FK as users_group_id or user_group_id?


Thanks in advance


Dennis

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: