Skip to content

fix(server): update Mongo index creation logic - #115

Merged
wilfredmulenga merged 2 commits into
mainfrom
fix/reearthx-update
Dec 19, 2025
Merged

fix(server): update Mongo index creation logic#115
wilfredmulenga merged 2 commits into
mainfrom
fix/reearthx-update

Conversation

@wilfredmulenga

@wilfredmulenga wilfredmulenga commented Dec 17, 2025

Copy link
Copy Markdown
Contributor
  • Updated MongoDB index creation logic in internal/infrastructure/mongo/container.go and replaced index creation to avoid dropping existing indexes.
  • Added a new createIndexesOnly function to create regular and unique indexes without dropping any.
  • go.mod: Adjusted dependencies (moved oklog/ulid to indirect)

@wilfredmulenga wilfredmulenga changed the title fix(server): remove logic that drops index fix(server): update Mongo index creation logic Dec 17, 2025
@wilfredmulenga
wilfredmulenga merged commit d79b3a7 into main Dec 19, 2025
11 checks passed
@wilfredmulenga
wilfredmulenga deleted the fix/reearthx-update branch December 19, 2025 01: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.

3 participants