Wednesday, October 29, 2008

Re: HABTM in rc3 need now field id in link table.

Teknoid, you may be right but the fixtures for the tests in the core
create loin tables without a pk.
E.g:
var $fields = array(
'article_id' => array('type' => 'integer', 'null' => false),
'tag_id' => array('type' => 'integer', 'null' => false),
'indexes' => array('UNIQUE_TAG' => array('column'=>
array('article_id', 'tag_id'), 'unique'=>1))
);

/Martin


On Oct 28, 3:56 pm, Alexandru <alexandru...@gmail.com> wrote:
> no no in rc2 this was on manual
> Recipe HABTM Tag  => recipes_tags.recipe_id, recipes_tags.tag_id
> BUT now they changed in manual and put this
> Recipe HABTM Tag  => id,recipes_tags.recipe_id, recipes_tags.tag_id
>
> now i know for sure it is NOT a BUG.
>
> TOPIC CLOSED
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: