My database model has 2 particular tables in it that require a many-to-many relationship. The tables are Systems
and Users
. One user can be a member of more than one system and one system has more than one user in it.
system_id
is the PK in the system table and user_id
is the PK in the user table. I have them linked with system_id
as a FK in the user table. I can't seem to figure out a table in between the two. I had the notion of forming a system_user
table and using both foreign keys in there but cant see how that would work.