Middle table - One or Many Relationship
Posted by: Redshot Alpha
Date: November 29, 2016 08:06PM

I am currently developing a simple CRM system. These are my tables: users, roles, role_users, customers.

http://www.screencast.com/t/libfsDiY6epK

Rules:
- A user can only be assign with a single role
- A role can have a 1 or many users
- A Customer is assigne to a user

Question:
Did i mark the correct relationship in the screenshot above?

Please let me know.

Thanks.

Options: ReplyQuote


Subject
Written By
Posted
Middle table - One or Many Relationship
November 29, 2016 08:06PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.