I'm using migrate upgrade drush command to generate migrations from a live DB of website. So content is created during my migrations. How can I do an update of these migrations to import new content when re-run migrations ?
Thanks
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI'm using migrate upgrade drush command to generate migrations from a live DB of website. So content is created during my migrations. How can I do an update of these migrations to import new content when re-run migrations ?
Thanks
You could use the track_changes
option, ex.
source:
plugin: d7_node
node_type: article
# Allows to import changed as well as new records from the source.
track_changes: true