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

[MIGRATION][NRPTI-1239] migration to fix improperly redacted AMPs #1260

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

acatchpole
Copy link
Contributor

@acatchpole acatchpole commented Jul 22, 2024

Pull Request Standards

  • The title of the PR is accurate
  • The title includes the type of change [HOTFIX, FEATURE, etc]
  • The PR title includes the ticket number in format of [NRPTI-###]
  • Documentation is updated to reflect change

Description

This migration fixes improperly redacted administrative records.

When a record is added to NRPTI, another matching record is also created in the redacted_record_subset collection. This record has all necessary redactions applied to it and is where NRCED gets its data from. Due to a bug, some records were improperly redacted. This migration finds all records that meet the standard for NOT being redacted, and then updates the associated records in both collections to have all the data that shouldn't have been redacted.

@acatchpole acatchpole requested a review from a team July 22, 2024 23:37
@acatchpole acatchpole self-assigned this Jul 22, 2024
Copy link

sonarcloud bot commented Jul 22, 2024

@acatchpole acatchpole marked this pull request as ready for review July 23, 2024 21:52
@acatchpole acatchpole merged commit 20958e3 into master Jul 23, 2024
6 checks passed
@acatchpole acatchpole deleted the migration/1239-fix-redacted-amps branch July 23, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants