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

[131] update mongodb validation for the case schema to allow search #136

Conversation

stanislaw-zakrzewski
Copy link
Collaborator

@stanislaw-zakrzewski stanislaw-zakrzewski commented May 28, 2024

Solves: #96, #97

Description

The schema and indexing was not updated when moving from cases to day0cases model. This caused free text search field to fail. After updating the schema and indexes it started working again.

Additional changes:

  • Cypress tests for the free text search were created
  • Documentation on running the migrations was included to the dev/README.md file

Screenshots

image

@stanislaw-zakrzewski stanislaw-zakrzewski added the work in progress There's still something left to do. label May 28, 2024
@stanislaw-zakrzewski stanislaw-zakrzewski self-assigned this May 28, 2024
@stanislaw-zakrzewski stanislaw-zakrzewski removed the work in progress There's still something left to do. label Oct 4, 2024
Copy link

@shaileshmahajanBCH shaileshmahajanBCH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @stanislaw-zakrzewski . I was able to test this locally.

Before
image

Migration
image

After Migration
image

@stanislaw-zakrzewski stanislaw-zakrzewski merged commit 929ea2a into main Oct 17, 2024
3 checks passed
@stanislaw-zakrzewski stanislaw-zakrzewski deleted the 131-update-mongodb-validation-for-the-case-schema-to-allow-search branch October 17, 2024 12:05
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 this pull request may close these issues.

Update mongodb validation for the case schema to allow search
2 participants