Skip to content

Instantly share code, notes, and snippets.

@juampynr
Created October 30, 2018 23:26
Show Gist options
  • Save juampynr/f51e58e249368ee6d0746234aa4781ab to your computer and use it in GitHub Desktop.
Save juampynr/f51e58e249368ee6d0746234aa4781ab to your computer and use it in GitHub Desktop.
Tweak a migration group and commit the changes
# 1. Delete the migration group.
# This command needs the patch at https://www.drupal.org/project/migrate_tools/issues/2977501#comment-12640911
drush migrate:delete-group migrate_drupal_7
# 2. Recreate the migration group.
drush migrate:upgrade --legacy-db-key=drupal7 --legacy-root=sites/default/files --configure-only
# 3. Export the configuration, then review and commit the changes.
drush config:export -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment