Hi all, I'm struggling with designing the models for an application I'm building. Here is my database structure:
players -- id -- name games -- id -- player_one_id -- player_two_id -- player_three_id -- player_four_id -- player_five_id Each game has five players. Any player can appear in multiple games, but not in the same game twice. How would I need to setup my model associations and how do I define the player_#_id fields in the game views? Thanks in advance! Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
