Skip to content

Conversation

samcoy3
Copy link
Contributor

@samcoy3 samcoy3 commented Sep 2, 2025

This is a small change to the migration which adds source as a column to the VaccinationRecord table.

For historically uploaded vaccination records with the outcome already_had created before the migration, we now backfill the source value as historical_upload rather than consent_refusal. This is consistent with how those records are treated after the migration.

Jira-Issue: MAV-1603

@samcoy3 samcoy3 requested a review from a team as a code owner September 2, 2025 13:37
@thomasleese thomasleese added the refactor Improving maintainability label Sep 3, 2025
@thomasleese thomasleese added this to the v3.4.0 milestone Sep 3, 2025
@samcoy3 samcoy3 force-pushed the adjust-vaccination-source-backfilling-logic branch 2 times, most recently from 811fc06 to d731819 Compare September 3, 2025 08:01
This is a small change to the migration which adds source as a column to the VaccinationRecord table.

For historically uploaded vaccination records with the outcome `already_had` created before the migration, we now backfill the source value as `historical_upload` rather than `consent_refusal`. This is consistent with how those records are treated after the migration.

Jira-Issue: MAV-1603
@samcoy3 samcoy3 force-pushed the adjust-vaccination-source-backfilling-logic branch from d731819 to 0b74f89 Compare September 3, 2025 08:07
Copy link

sonarqubecloud bot commented Sep 3, 2025

@samcoy3 samcoy3 merged commit c735a3f into next Sep 3, 2025
13 checks passed
@samcoy3 samcoy3 deleted the adjust-vaccination-source-backfilling-logic branch September 3, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improving maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants