Score:0

How to prevent drush migrate:import from updating existing content?

pe flag

Drush migrate:import (version 10.3.6) seems to be updating existing content regardless if the --update option is used or not. What could be the problem? I've tested it both with and without the --update option and it behaves the same way. However, when I ran it using the migration tools module, it is opposite - nothing gets updated in both cases.. It seems this problem has started after the site in question was upgraded to d9 from d8. Currently I have no idea where to look and would appreciate some pointers.

ru flag
Migration _always_ updates the target entity if the source fields have changed, the `--update` option is only used to _force_ an update even if the source has not changed.
Nathaniel W. avatar
pe flag
@Hudri That would require the source to be changing all the time which isn't the case. It updates the existing content on each migration, without the --update option.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.