Regression: Fix migration 125 checking for settings field #11364
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #11353
Unfortunate seems like some databases have
settings
field onusers
asnull
, which causes migration 125 to fail.This will fix the migration for those who have not ran it yet.
For those who are still locked on migration 125, upgrading to a new release with this fix will require the migration to be unlocked manually only using the following command:
For those who have skipped migration 125-129 manually, the recommended action is to revert back to version 125 and start the server with this fix. To revert back you can use the following command:
And finally for those still stuck with the migration locked, just updating to latest version/codebase will fix it.