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 table to track user facility allocation #1450

Merged
merged 5 commits into from
Sep 11, 2023

Conversation

sainak
Copy link
Member

@sainak sainak commented Jul 13, 2023

Proposed Changes

  • create a new table to track user's start date and end date at home_facility
  • create signal to update the table on changes to the user model
  • create migration to back-fill previous record (we don't have the exact allocation date at current home_facility of users so using the users created date)

Associated Issue

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 ed4fcbe into master Sep 11, 2023
5 checks passed
@vigneshhari vigneshhari deleted the sainak/meta/user-allocation-tracking branch September 11, 2023 17:11
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.

Track Home Facility allocation for User
3 participants