AB2D-5782 Database changes for AttributionDataShare Lambda #1293
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎫 Ticket
https://jira.cms.gov/browse/AB2D-5782
🛠 Changes
create_current_mbi_table.sql
liquibase file where I create a new tablepublic.current_mbi
and insert unique current mbis frompublic.coverage table
.create_current_mbi_procedure.sql
liquibase file where I create a procedure to insert values from 2023 partition topublic.current_mbi
tableℹ️ Context for reviewers
Performance of the AttributionDataShare Lambda in production will need some kind of persistence. An easy way to do this based on our existing architecture that the engineering team has discussed is by utilizing a database procedure.
✅ Acceptance Validation
Deployed the branch on dev:
🔒 Security Implications
If any security implications apply, add Jason Ashbaugh (GitHub username: StewGoin) as a reviewer and do not merge this PR without his approval.