I am setting up am app and trying UUID for each user but question I have is:
 
So a User.id is a UUID
that User hasOne Profile.id which will be the User.id correct?
 
User.id <= same as => Profile.id 
 
And say a User hasOne Gallery which hasMany Albums and each Album hasMany
Photos
 
Would the Gallery.id be the User.id? the Album has its own ID, gallery_id
which would be the same UUID? 
 
User.id <= same as => Gallery.id 
 
Album.id => int(11)
Album.gallery_id => the users UUID 
 
Photos.id => int(11)
Photos.album_id => int(11)
 
and
Photos would have their own ID but relate back to the album_id whichc would
trace back to the Gallery.id and back to its original owner?
 
Hope that makes sense....
 
Is that the right way to do it?
 
Thanks,
 
Dave

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