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

Cleanup: Adds custom migration to clean prescriptions #1361

Merged
merged 2 commits into from
Jun 8, 2023

Conversation

rithviknishad
Copy link
Member

Proposed Changes

  • Added a custom migration that will update all prescriptions that are is_migrated=True and frequency__isnull=False to have uppercase frequency.

Associated Issue

Architecture changes

  • Remove this section if not used

Merge Checklist

  • Tests added/fixed
  • Update docs in /docs
  • Linting Complete
  • Any other necessary step

Only PR's with test cases included and passing lint and test pipelines will be reviewed

@coronasafe/code-reviewers

@rithviknishad rithviknishad requested a review from vigneshhari June 8, 2023 13:53
@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (e5e7453) 56.66% compared to head (4921cec) 56.66%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1361   +/-   ##
=======================================
  Coverage   56.66%   56.66%           
=======================================
  Files         195      195           
  Lines        9862     9862           
  Branches     1655     1655           
=======================================
  Hits         5588     5588           
  Misses       4220     4220           
  Partials       54       54           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vigneshhari vigneshhari merged commit 9e2af72 into master Jun 8, 2023
@sainak sainak deleted the clean-prescriptions-migrations branch June 26, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prescriptions Migration Cleanup: Correct migrated frequency choice from lowercase to UPPERCASE choices
3 participants