Skip to content

Commit

Permalink
Upgrade migrate_generator to 2.x version (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-Orlov authored Dec 4, 2023
1 parent da73f56 commit ac0da42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ php-0 = docker-compose exec -T --user 0:0 php ${1}

ADDITIONAL_PHP_PACKAGES := tzdata graphicsmagick # php81-intl php81-redis php81-pdo_pgsql postgresql-client
DC_MODULES := project_default_content default_content serialization
MG_MODULES := migrate_generator migrate migrate_plus migrate_source_csv migrate_tools
MG_MODULES := migrate_generator migrate migrate_plus migrate_source_csv

## Full site install from the scratch
all: | provision back front si localize hooksymlink info
Expand Down Expand Up @@ -119,7 +119,7 @@ endif
ifneq ($(strip $(MG_MODULES)),)
$(call php, drush en $(MG_MODULES) -y)
$(call php, drush migrate_generator:generate_migrations /var/www/html/content --update)
$(call php, drush migrate:import --tag=migrate_generator)
$(call php, drush migrate:import --tag=mgg)
$(call php, drush migrate_generator:clean_migrations mgg)
$(call php, drush pmu $(MG_MODULES) -y)
endif
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"drupal/core-vendor-hardening": "^10.0.9",
"drupal/default_content": "^2",
"drupal/imagemagick": "^3.4",
"drupal/migrate_generator": "^1.5",
"drupal/migrate_generator": "^2.0",
"drupal/seven": "^1.0",
"drush/drush": "^12.0",
"skilldlabs/drupal-cleanup": "^1",
Expand Down

0 comments on commit ac0da42

Please sign in to comment.