Thursday, June 25, 2009

Using UUId

Just wondering what fields you should user UUID for?
 
User id -> yes
but what about HABTM tables? and hasMany
id -> would you make this a UUID
post_id -> is the post created usinga  UUID
tag_id -> and the tag? 1,2,3,4 ID or xxx-xx-xxxx-xxx
 
Dave

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