Skip to content

Instantly share code, notes, and snippets.

@ainsofs
Last active February 3, 2022 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ainsofs/32e498cff5e6013ed3d24569fefad116 to your computer and use it in GitHub Desktop.
Save ainsofs/32e498cff5e6013ed3d24569fefad116 to your computer and use it in GitHub Desktop.
# rebuild permissions
drush php-eval "node_access_rebuild();"
# remove missing module
drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='module_name';"
# how to re-apply drupal update
drush ev "drupal_set_installed_schema_version('field_group', 8000)"
# delete live configs
drush config-delete [some.config]
# turn on maintenance mode
drush sset system.maintenance_mode 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment