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(achievement): dont save type: none as an empty string [V3.2.1] #1747

Merged
merged 2 commits into from
Aug 12, 2023

Conversation

wescopeland
Copy link
Member

No description provided.

@wescopeland wescopeland requested a review from a team August 12, 2023 10:42
@wescopeland wescopeland marked this pull request as draft August 12, 2023 10:43
@wescopeland wescopeland marked this pull request as ready for review August 12, 2023 10:50
@wescopeland wescopeland changed the title fix(achievement): dont save type: none as an empty string fix(achievement): dont save type: none as an empty string [V3.2.1] Aug 12, 2023
Copy link
Contributor

@Tsearo Tsearo left a comment

Choose a reason for hiding this comment

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

Fixes when updating the type back to None or when creating a new achievement so looks good to me.
I may suggest having someone with root access running the following query to make sure there isn't any data discrepancy in the table from before this PR goes in as any achievements created between or set to None will be a blank string as opposed to NULL

UPDATE Achievements SET type = NULL WHERE type = ''

@luchaos
Copy link
Member

luchaos commented Aug 12, 2023

someone with root access running the following query

will do

@luchaos luchaos merged commit 19e9e4d into RetroAchievements:master Aug 12, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants