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

add field readmission + custom migration #1572

Merged
merged 4 commits into from
Sep 11, 2023
Merged

Conversation

rithviknishad
Copy link
Member

@rithviknishad rithviknishad commented Sep 4, 2023

Proposed Changes

  • Added read-only field: is_readmission to the Consultation model.
  • Added logic to set the is_readmission to True during the on_create of a consultation.
  • Custom migration to fill existing records.

Associated Issue

Tested with staging db copy

image image

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/care-backend-maintainers @coronasafe/care-backend-admins

@vigneshhari vigneshhari merged commit fe28fc1 into master Sep 11, 2023
@vigneshhari vigneshhari deleted the consultation/readmission branch September 11, 2023 15:00
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.

5 participants