On 9/8/2009 9:23 PM, brian wrote:
>
> Anyway, so, if I have members, non_members, and meetings tables, I
> figure that I can then create a meetings_attendees table. Basically,
> the attendee can be either a member or a non_member. Should I go with
> a schema like this?
>
> This seems like a kludge, at best (if not broken). Can anyone suggest
> a better approach?
>
> -
>    
Hi brian,

I would go with something like User -> belongsTo -> Group, Meeting -> 
HABTM or HasMany -> Users.
I would create 2 groups (members & visitors) and add users accordingly.

HTH
P.S.: Email me off list if you want a hands on example.

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