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

DEV: Check that setting does not exist before migrate #203

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented Aug 7, 2024

Fix for - #202. That PR was a fix for a failed rename, but did not check if the setting may have already been overwritten manually by admins.

  1. if the problematic migration already ran, it will result in the plugin being disabled if it was already enabled.
  2. admins enable it manually
  3. the new "correcting" migration in DEV: Fix migration that renamed site settings #202 would fail because the record already exists.

@nattsw nattsw merged commit 9ce8f3f into main Aug 7, 2024
5 checks passed
@nattsw nattsw deleted the fix-existing-setting-migration branch August 7, 2024 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants