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 #2553] Cleanup v0 and v0.1 opportunity endpoints (backend/db) [3/3] #3411

Merged
merged 11 commits into from
Jan 9, 2025

Conversation

mikehgrantsgov
Copy link
Collaborator

@mikehgrantsgov mikehgrantsgov commented Jan 6, 2025

Summary

Fixes #2553

Time to review: 10 mins

Changes proposed

Removes https://github.com/HHS/simpler-grants-gov/blob/main/api/src/db/models/transfer/topportunity_models.py + generate migrations to remove this table
Removes https://github.com/HHS/simpler-grants-gov/blob/main/api/src/data_migration/copy_oracle_data.py - the script that loads data into the transfer table (Note there will be some infra we want to remove to no longer schedule this job as well)
Transfer table removed
DB migration generated

Context for reviewers

Final PR to clean up v0 and v0.1 opportunity endpoints, along with supporting backend tasks.
Note, when PR #3409 is merged then the build errors will go away from this PR.
NOTE Do not merge until after next Prod deploy

@chouinar
Copy link
Collaborator

chouinar commented Jan 7, 2025

This looks good to me, but holding review until after our next prod deploy. Want to make sure this goes out in the subsequent release so that we delete all usages of the tables before deleting the tables themselves

We're releasing tomorrow, so should be able to merge tomorrow afternoon?

@mikehgrantsgov
Copy link
Collaborator Author

This looks good to me, but holding review until after our next prod deploy. Want to make sure this goes out in the subsequent release so that we delete all usages of the tables before deleting the tables themselves

We're releasing tomorrow, so should be able to merge tomorrow afternoon?

Sounds good!

Copy link
Collaborator

@chouinar chouinar left a comment

Choose a reason for hiding this comment

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

LGTM!

@mikehgrantsgov mikehgrantsgov merged commit f6067d5 into main Jan 9, 2025
@mikehgrantsgov mikehgrantsgov deleted the mikehgrantsgov/2553-cleanup-db-backend-tasts branch January 9, 2025 15:10
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.

Cleanup v0 and v0.1 opportunity endpoints
3 participants