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 broken Tours migration for V15 #16912

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

kjac
Copy link
Contributor

@kjac kjac commented Aug 14, 2024

Prerequisites

  • I have added steps to test this contribution in the description below

Description

#16817 introduced the "User type" as a new property on User, and ultimately on UserDto. This had the unfortunate side effect of breaking the tours data migration introduced in V14, because it attempts to load UserDto from the DB. This is no longer possible with the new field on UserDto.

To fix it, I've retrofitted the migration with NewUserDto - pretty much the same way the "add GUID to Users" migration works for V14.

Testing this PR

Upgrade a DB from V13 to V15. If things do not explode, things work 😆

Copy link
Member

@elit0451 elit0451 left a comment

Choose a reason for hiding this comment

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

Changes look good and nothing exploded 😄 so merging ✅

@elit0451 elit0451 merged commit 72481a2 into v15/dev Aug 19, 2024
16 of 17 checks passed
@elit0451 elit0451 deleted the v15/fix/tour-migration-user-dto branch August 19, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants