RocketChat / RocketChat/Rocket.Chat
Drop existent index on database migration of 9.0
Open
Beginner friendly
Nobody has claimed this yet.
todo
type: bug
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
{ key: { roomId: 1, userId: 1, messageId: 1 }, unique: true },
📝 Found in apps/meteor/ee/server/models/raw/ReadReceipts.ts#L14
Commit: f65cd9be3264a4285e709049acb303caef0b9eae
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at apps/meteor/ee/server/models/raw/ReadReceipts.ts#L14-L19 and inspect the database migration for version 9.0 that handles this index. Confirm the existing index is removed during migration, then verify the migration succeeds with the affected ReadReceipts data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100