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

Data Base Migration to Support Multiple Ordering Providers #8178

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bobbywells52
Copy link
Collaborator

@bobbywells52 bobbywells52 commented Oct 7, 2024

DATABASE PULL REQUEST

Related Issue

Changes Proposed

  • Updates database schema to have a facility_providers table and add default_ordering_provider_id to the facilities table.

  • Populate new table and column.

Additional Information

  • The default_ordering_provider_id will initially be seeded with the ordering_provider_id for a given a facility. Once seeded and the backend implementation for for multiple ordering providers is complete, the ordering_provider_id column will be removed from the facilities table.

Testing

  • Run migration locally and confirm that a facility_providers table is created and populated.

  • Run migration locally and confirm that the default_ordering_provider_id has been correctly added and populated on the facilities table.

  • Run rollback for each of the 4 database tags and confirm that they are working as expected.

Copy link

sonarcloud bot commented Oct 7, 2024

@bobbywells52 bobbywells52 changed the title Bobby/mop db Data Base Migration to Support Multiple Ordering Providers Oct 8, 2024
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.

1 participant