Tuesday, 20 August 2013

What type of model relationship should I use for two foreign key references in same row?

What type of model relationship should I use for two foreign key
references in same row?

I'm trying to create an Event model that has two references to the Contact
model.
Why two? Because a Contact can either be of type Client or Organizer.
How can I add two foreign key columns to my Event model?

No comments:

Post a Comment