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

Fix Versioning Scheduling Migration #1374

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

Mythicaeda
Copy link
Contributor

  • Tickets addressed: Hotfix
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Some foreign keys were being created prior to the data migration, which was causing issues since the table they were referencing was empty. The keys are now created after the data migration.

In the down migration, extra steps were added to the data migration to correctly update the remapped goal ids.

Verification

Tested against the aerie-dev database.

Documentation

No docs update

Future work

- FK creation/dropping was moved around relative to the data migration, and goal ids were properly migrated
@Mythicaeda Mythicaeda added the database Anything related to the database label Mar 26, 2024
@Mythicaeda Mythicaeda added this to the FY24 Q2 - Bug Fixes milestone Mar 26, 2024
@Mythicaeda Mythicaeda requested review from dandelany and skovati March 26, 2024 21:40
@Mythicaeda Mythicaeda self-assigned this Mar 26, 2024
@Mythicaeda Mythicaeda requested a review from a team as a code owner March 26, 2024 21:40
@Mythicaeda Mythicaeda added the fix A bug fix label Mar 26, 2024
Copy link
Contributor

@skovati skovati left a comment

Choose a reason for hiding this comment

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

Confirmed this applied just fine on aerie-dev!

@dandelany
Copy link
Collaborator

Thanks @Mythicaeda and @skovati - I will cherry pick this commit (0d8da1f) on top of our v2.6.0 release to create a 2.6.1 patch release.

@dandelany dandelany merged commit 0172f0e into develop Mar 29, 2024
10 checks passed
@dandelany dandelany deleted the fix/fix-scheduling-versioning-migrations branch March 29, 2024 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Anything related to the database fix A bug fix
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants