Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[_]: feat/add unique constraint on member_id and workspace_id in workspace_users and workspace_teams_users #421

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jzunigax2
Copy link
Contributor

@jzunigax2 jzunigax2 commented Nov 4, 2024

Add UNIQUE constraints with workspace_id and member_id in workspace_users and workspace_teams_users to prevent duplicated members

@jzunigax2 jzunigax2 force-pushed the fix/unique-constraint-workspace-users branch from e3596f0 to c0b1203 Compare November 4, 2024 21:19
…into fix/unique-constraint-workspace-users
Copy link

sonarqubecloud bot commented Nov 4, 2024

@sg-gs
Copy link
Member

sg-gs commented Nov 5, 2024

Please add a description of why you are doing this @jzunigax2. In this case, something like "Add UNIQUE constraint with workspace_id and member_id to prevent duplicated members in a given workspace" would be a good concise description. Otherwise the context of the why of this change, is lost.

@jzunigax2 jzunigax2 changed the title [_]: feat/add unique constraint on member_id and workspace_id in workspace_users [_]: feat/add unique constraint on member_id and workspace_id in workspace_users and workspace_teams_users Nov 5, 2024
@jzunigax2 jzunigax2 requested a review from sg-gs November 5, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants