Basic Database Design

Posted by Thurein on Stack Overflow See other posts from Stack Overflow or by Thurein
Published on 2010-05-16T17:24:58Z Indexed on 2010/05/16 17:30 UTC
Read the original article Hit count: 258

Filed under:

Hi,

This question would be a bit childish, I have three tables, users, usergroups and contacts. In my system, the end user can create a contact and subsequently he\she may define the visibility of the contact by setting only for that user, or for a set of users or a set of usergroups. So I am wondering, how my database design would be, it should be many to many between users and contacts or many to many between usergroups and contacts. Definitely there is a one to many relationship between users and usergroups.

Thanks Thurein

© Stack Overflow or respective owner

Related posts about database-design