I'm trying to migrate and upgrade a site from Drupal 7 to Drupal 8 (version 8.9.1). The migration cannot be accomplished with the UI, since I need to make some changes to the content types and taxonomies during the process. I followed the advice at https://www.drupal.org/docs/upgrading-drupal/upgrade-using-drush and generated individual migrations using drush migrate-upgrade --configure-only
so that I could use the YAML files it generates as the basis for a custom migration module.
After I built my module, I ran drush migrate-status
(alias drush ms
). I can see that my migrations are registered, but the ones generated earlier by drush migrate-upgrade
are also there. In the past, removing them would be a simple matter of using drush migrate-deregister
(alias drush mdreg
), but that command, strangely, is no longer available in the current version of Drush (10.3.1).
How do I deregister the migrations that were generated by drush migrate-upgrade --configure-only
? I am assuming that if I don't deregister them, my content will be migrated twice, and I don't want that to happen.