Skip to content
Snippets Groups Projects
Commit 64057c24 authored by Fran Garcia-Linares's avatar Fran Garcia-Linares
Browse files

Call the custom command after the user migration.

parent f6b6fb08
No related branches found
No related tags found
No related merge requests found
Pipeline #457232 canceled
......@@ -34,6 +34,8 @@ if [[ "$TYPE" == "all" || "$TYPE" == "users" ]]; then
# drush migrate:import drupalorg_migrate_field_collection_organizations --feedback 10000
# drush migrate:import drupalorg_migrate_field_collection_contribution_role --feedback 10000
drush migrate:import drupalorg_migrate_users --feedback 1000
# Rather than using the --sync option, run the custom command.
drush drupalorg_migrate:sync-users
fi
if [[ "$TYPE" == "full-users" ]]; then
......@@ -45,6 +47,8 @@ if [[ "$TYPE" == "full-users" ]]; then
# drush migrate:import drupalorg_migrate_field_collection_contribution_role --feedback 10000
drush state:set drupalorg_migrate.drupalorg_migrate_users_last_record 0 --input-format=integer
drush migrate:import drupalorg_migrate_users --feedback 10000
# Rather than using the --sync option, run the custom command.
drush drupalorg_migrate:sync-users
fi
if [[ "$TYPE" == "all" || "$TYPE" == "files" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment