Created
August 23, 2019 06:34
-
-
Save dinarcon/24c3f166f6e96e380c73c13fa2293ba9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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