Maybe use uuid based primary key?  (char 36)

On Fri, May 2, 2008 at 1:52 AM, validkeys
<[EMAIL PROTECTED]> wrote:
>
>  Quick question..
>
>  I have a conversation going on between users and managers. users and
>  managers are 2 seperate tables but the conversation posts are held in
>  one table. When i reference the post i reference it by id and then
>  have a field called model. The model field would hold either the word
>  Manager or User depending on whether or not it was a user or manager
>  that posted to the conversation. I was wondering if anyone had a
>  better way to do this.
>
>  Feel free to shoot me down and make me feel small.
>  >
>



-- 
Marcin Domanski
http://kabturek.info

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