1

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

0

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

https://www.drupal.org/docs/8/api/migrate-api/migrate-source-plugins/overview-of-migrate-source-plugins#track_changes

  • do I need to add it in my custom migration yml files ? What about default migrations created by migrate module ? – webmaster pf Jul 17 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.