#554 Add migration to turn `parent_id` column into `bigint` only if necessary
Pull request opened by
eapolinario
TL;DR
Migration to change parent_id type only if necessary
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☐ Code completed
☑︎ Smoke tested
☐ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
This blog post has a suggestion on how to run a postgres migration to change a column type from int to bigint without a lot of downtime.
I turned that into two gorm migrations. And tested extensively both on sandbox and in a real production table in RDS. The happy path works, but more testing is needed.
Tracking Issue
_Remove the '_fixes_' keyword if there will be multiple PRs to fix the linked issue_
fixes
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/
flyteorg/flyteadmin
GitHub Actions: Build & Push Flytescheduler Image
GitHub Actions: Build & Push Flyteadmin Image
GitHub Actions: Goreleaser
GitHub Actions: Bump Version
Codecov: 58.52% (-0.34%) compared to 1026231
Codecov: 12.06% of diff hit (target 58.85%)
✅ 8 other checks have passed
8/14 successful checks