Skip to content

Create migration method to generate name_note records for existing local vaccinations that don't have any #4384

Open
@kat-ms

Description

@kat-ms

Is your feature request related to a problem? Please describe.

For #4347

Describe the solution you'd like

As part of #4296 (8.2.0) vaccinations and refusals were modified to create a name_note on completion.
Would like a migration method to create name_notes for vaccinations that were done before 8.2.0, so local history can just look at name_notes for vaccinations and refusals.

Describe alternatives you've considered

No migration - would need conditional logic to pull both local vaccinations from both [transact] and [name_note] tables and filter duplicates.

Additional context

Might need to be footrunner on desktop for Tonga only rather than mobile migration (since name_note don't have transaction ids it will be difficult to tell if a transaction has a name_note or not...?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions