Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect additional essence attributes during ingredients migration #2154

Merged
merged 2 commits into from
Jul 7, 2021

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jul 7, 2021

What is this pull request for?

Essences might have additional attributes that we store in the data JSON column on the ingredients table.
The ingredients migrator task needs to copy those values as well.

Also you can now migrate only a subset of elements by passing a comma separated list with ONLY=element1,element2 while running the rake task

bin/rake alchemy:upgrade:6.0:create_ingredients ONLY=product_slide

Checklist

tvdeyen added 2 commits July 7, 2021 10:21
Set `ONLY=element1,element2` during running the ingredients
migration task helps to migrate only a subset of elements.
@tvdeyen tvdeyen added this to the 6.0 milestone Jul 7, 2021
@tvdeyen tvdeyen merged commit a028fd0 into AlchemyCMS:main Jul 7, 2021
@tvdeyen tvdeyen deleted the fix-ingredients-migrator branch July 7, 2021 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant