- Issue created by @emptyvoid
- πΊπΈUnited States emptyvoid
For those looking for ways to actively salvage a corrupted database config refer to this thread.
https://drupal.stackexchange.com/questions/164612/how-do-i-remove-a-conf....
I'm attempting to create a patch which explicitly deletes the fields on uninstall.
function hook_uninstall() { \Drupal::configFactory()->getEditable('the_setting.you.want.to.delete')->delete(); }
And attempting to clean up an active install using drush.
drupal config:delete active config_to_delete
- πΊπΈUnited States emptyvoid
On an active build where you installed the module and then uninstalled it. There by preventing you from reinstalling you can issue the following commands to free up the user entity.
drush config:delete field.field.user.user.field_access_tolken drush config:delete field.field.user.user.field_refresh_token drush config:delete field.storage.user.field_access_tolken drush config:delete field.storage.user.field_refresh_tolken drush cron drush cr
- πΊπΈUnited States emptyvoid
patching adding uninstall for user settings
- π―π΄Jordan mahdiwadi
I've fixed the patch and successfully applied it to my module. The issues have been resolved. Please proceed with closing the issue.
- Status changed to Fixed
3 months ago 10:30am 28 August 2024 - Status changed to Fixed
3 months ago 10:31am 28 August 2024