There is a ticket for this already. I found it yesterday when I was
looking into this myself. The problem is new to rc3. Rc2 works just as
Cake always has.
Add your tests and thoughts there if you can.
https://trac.cakephp.org/ticket/5579

About requiring join tables and their pk requirements.
Cake has tests for both types of tables. There is also a test for a
join with "extra" fields.
I personally prefer using a composite pk:
CREATE TABLE `modules_users` (
  `module_id` int(11) unsigned NOT NULL default '0',
  `user_id` int(11) unsigned NOT NULL default '0',
  PRIMARY KEY  (`module_id`,`user_id`)
)

Cake, on the other hand, creates a pk-less table where the two ids are
instead made a unique key. The working result is afaik the same.

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