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

fix: Fix join route user duplication #285

Closed
Tushar504 opened this issue Jan 25, 2025 · 0 comments · Fixed by #286
Closed

fix: Fix join route user duplication #285

Tushar504 opened this issue Jan 25, 2025 · 0 comments · Fixed by #286
Assignees

Comments

@Tushar504
Copy link
Contributor

Description:

duplicate entry getting added for notes team member.

Steps:

  • need to add unique key constraint on note team table.
  • to create unique key constraint on userid and noteid need to add indexes: [ { unique: true, fields: ['noteId', 'userId'], }, ], to TeamsModel,
@Tushar504 Tushar504 self-assigned this Jan 25, 2025
@Tushar504 Tushar504 changed the title Fix join route user duplication fix: Fix join route user duplication Jan 25, 2025
@Tushar504 Tushar504 linked a pull request Jan 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant