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

updated migration to migrate data from all applicable page types #12526

Closed

Conversation

danielfmiranda
Copy link
Collaborator

@danielfmiranda danielfmiranda commented Jun 21, 2024

Description

Related PRs/issues: #12481

In the migration file 0139_update_annotatedimageblock_with_linkblock, there are 5 instances of migrations.AlterField() to add the new caption_URL field and 5 instances of migrations.AlterField() to remove the old captionURL field for the following page models:

  • blogpage
  • buyersguidearticlepage
  • buyersguidecampaignpage
  • modularpage
  • primarypage

However, currently, there is only one MigrateStreamData operation, which is for the blogpage model.

This PR adds four additional MigrateStreamData operations to ensure that existing data is properly migrated for all the page types listed above.

┆Issue is synchronized with this Jira Story

@danielfmiranda danielfmiranda requested review from robdivincenzo and removed request for robdivincenzo June 21, 2024 17:09
@danielfmiranda
Copy link
Collaborator Author

Closing in place of #12527!

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