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

Move teamless data migration with the rest of data migrations and update teamless boards query #2942

Merged
merged 2 commits into from
Apr 27, 2022

Conversation

mgdelacroix
Copy link
Contributor

@mgdelacroix mgdelacroix commented Apr 27, 2022

Summary

The teamless boards data migration was relying on boards of type D and G, that were removed as part of #2928. This PR reverts said patch, fixes the query that fetches teamless boards and cleans a bit the data migration code, moving the migration itself to the data_migrations.go file and ensuring migration and schema version keys are consistently named and placed.

The actual fix for the teamless data migration in MySQL is 5c5a2bb

Ticket Link

Fixes #2941

@mgdelacroix mgdelacroix added the 2: Dev Review Requires review by a core committer label Apr 27, 2022
@mgdelacroix mgdelacroix added this to the v0.16 milestone Apr 27, 2022
@mgdelacroix mgdelacroix force-pushed the fix-teamless-data-migration branch from 4313467 to 4bad1ef Compare April 27, 2022 17:13
@jespino
Copy link
Contributor

jespino commented Apr 27, 2022

Can you separate the fix and the movement in two different commits, this is going to be really hard to review if not.

@mgdelacroix mgdelacroix force-pushed the fix-teamless-data-migration branch from 4bad1ef to 5c5a2bb Compare April 27, 2022 17:58
@mgdelacroix
Copy link
Contributor Author

@jespino done!

@mgdelacroix mgdelacroix requested review from sbishel and jespino April 27, 2022 18:04
@mgdelacroix mgdelacroix marked this pull request as ready for review April 27, 2022 18:05
@mgdelacroix mgdelacroix requested a review from a team as a code owner April 27, 2022 18:05
Copy link
Collaborator

@sbishel sbishel left a comment

Choose a reason for hiding this comment

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

LGTM

@sbishel sbishel added 3: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Apr 27, 2022
@sbishel sbishel merged commit ae97d5c into main Apr 27, 2022
@sbishel sbishel deleted the fix-teamless-data-migration branch April 27, 2022 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: DMs and GMs don't have a team_id after the database migrations
3 participants