When using migrate to import data from external data sources, we often have the issue, that the external data source deletes records we previously imported. In our database remain "orphans" and our migrate_map tables are full of orphaned entries.
This modules comes with a handy drush command to remove orphans from a specific migration by comparing the migrate_map table and the external data source.
You have two options:
- Delete orphaned entities
- Disable orphaned entities
Usage:
drush migrate:orphans-purge <migration-name>
drush migrate:orphans-disable <migration-name>
Supporting organizations:
Development / Funding
Project information
- Project categories: Developer tools
- Ecosystem: Migrate
64 sites report using this module
- Created by ayalon on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
