-
Notifications
You must be signed in to change notification settings - Fork 324
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
Fixed: Added occupation field for text support #1058
Conversation
Codecov ReportBase: 56.06% // Head: 56.02% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1058 +/- ##
==========================================
- Coverage 56.06% 56.02% -0.05%
==========================================
Files 175 175
Lines 8629 8620 -9
Branches 1462 1475 +13
==========================================
- Hits 4838 4829 -9
Misses 3739 3739
Partials 52 52
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@vigneshhari can you review it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The migrations can be improved
- create the new occupation field with name
occupation_char
- use the PatientMetaInfo directly to get all objects
- populate the occupation_char field and add the objects to a list
- bulk update the PatientMetaInfo objects
- remove the old occupation field
- rename the occupation field
@cp-coder add test cases |
Will open a new PR |
Proposed Changes
occupation
field fromIntegerField
toCharField
Associated Issue
Associated PRs
@coronasafe/code-reviewers