DEV - Add member to a Product Team
This is done in the database using SQL inserts and performed by a developer.
Team members table:
select * from TeamMembers
Get user id from Users table given a Laerdal username:
select * from Users where username = '<Laerdal username>'
Find team id using requested team name from product teams table:
select * from ProductTeams
Finally insert team id and user id:
insert into TeamMembers (teamid, userid)
values (teamid-value, userid-value)
If multiple user names to be added:
insert into TeamMembers (teamid, userid)
select teamId, u.ID from Users u
where u.username in ('user1',user2', 'user3', 'user4');