Skip to content

fix: Fix join route user duplication #285

@Tushar504

Description

@Tushar504

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,

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions