Hi guys,
I have several tables in my ERD which which I would like to combine in a relational manner.
I have several use cases, but I completely lost track of what kind of relations to use between the tables.
- Every user can work on multiple projects.
- Every user has one specific role per project (Manager, Contributor, User)
- Every project has multiple datasets (currDataXXX columns in 'projects') which need to be linked to the table data.
- The application will keep track of datasets that have been added by users. Thus I assume I need a relation between tables 'users' and 'data' too?
I used a bridge model in table 'roles' with 2 PK's to link the users and projects together and defining a role for that user and project at the same time (is this the correct way?).
Could somebody please help me assist the correct relations between the tables? and maybe suggest columns (which are missing) for tables (or tables as a whole of course).
Kind of lost sight of this.
With kind regards,
B.
REVISED ERD: (Original image: http://i55.tinypic.com/2mq2ejs.jpg)