Skip to content

Instantly share code, notes, and snippets.

@dinarcon
Created August 23, 2019 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dinarcon/24c3f166f6e96e380c73c13fa2293ba9 to your computer and use it in GitHub Desktop.
Save dinarcon/24c3f166f6e96e380c73c13fa2293ba9 to your computer and use it in GitHub Desktop.
# 1) Run the migration.
$ drush migrate:import udm_config_json_source_node_local
# 2) Rollback migration because the expected results were not obtained.
$ drush migrate:rollback udm_config_json_source_node_local
# 3) Change the migration definition file in the "config/install" directory.
# 4a) Sync configuration by folder using Drush.
$ drush config:import --partial --source="modules/custom/ud_migrations/ud_migrations_config_json_source/config/install"
# 4b) Sync configuration by file using Drupal Console.
$ drupal config:import:single --file="modules/custom/ud_migrations/ud_migrations_config_json_source/config/install/migrate_plus.migration.udm_config_json_source_node_local.yml"
# 5) Run the migration again.
$ drush migrate:import udm_config_json_source_node_local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment