-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Issue #2553] Cleanup v0 and v0.1 opportunity endpoints (backend/db) [3/3] #3411
Conversation
api/src/db/migrations/versions/2025_01_06_remove_transfertopportunity_models.py
Outdated
Show resolved
Hide resolved
…//github.com/HHS/simpler-grants-gov into mikehgrantsgov/2553-cleanup-db-backend-tasts
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
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