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

[Issue #2493] Allow certain agency fields to be null from the legacy values #2513

Merged
merged 5 commits into from
Oct 17, 2024

Conversation

chouinar
Copy link
Collaborator

Summary

Fixes #2493

Time to review: 5 mins

Changes proposed

Modified three fields (ldapGp, description, label) in the agency table to be nullable

Adjusted the transform agency process to allow these fields to be nullable as well

Context for reviewers

This isn't an issue in prod right now, but is accounting for a problem I found in the dev/staging environments. The agency data is stored in a very different way (key-value pairs) in the legacy data, and these fields are sometimes not present in the test data. There isn't any reason we should require them as we likely won't use them, so I'm letting them be nullable to let these agencies with the values null get populated in the lower envs.

Additional information

There is some additional context on #2494

Copy link
Collaborator

@mdragon mdragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@chouinar chouinar merged commit ca4e177 into main Oct 17, 2024
@chouinar chouinar deleted the chouinar/agency-fixes branch October 17, 2024 18:30
doug-s-nava pushed a commit that referenced this pull request Oct 18, 2024
…values (#2513)

## Summary
Fixes #2493

### Time to review: __5 mins__

## Changes proposed
Modified three fields (ldapGp, description, label) in the agency table
to be nullable

Adjusted the transform agency process to allow these fields to be
nullable as well

## Context for reviewers
This isn't an issue in prod right now, but is accounting for a problem I
found in the dev/staging environments. The agency data is stored in a
very different way (key-value pairs) in the legacy data, and these
fields are sometimes not present in the test data. There isn't any
reason we should require them as we likely won't use them, so I'm
letting them be nullable to let these agencies with the values null get
populated in the lower envs.

## Additional information
There is some additional context on
#2494

---------

Co-authored-by: nava-platform-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify Agency table + transform job to allow certain legacy values to be null
3 participants