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

Migrate channel databases before import to guarantee compatible schema. #3996

Merged

Conversation

rtibbles
Copy link
Member

Summary

Description of the change(s) you made

Adds a tweak to the management command for importing previously published channels to ensure that the channel database of the public channel is migrated, so that the schema is readable by Django.

Manual verification steps performed

  1. Downloaded the channel database for this channel: https://unstable.studio.learningequality.org/en/channels/d0cb2b465843584e9c72969ea5ea5519/
  2. Ran through the steps of the management command manually
  3. Ensured an error only occurred because the Channel wasn't in the contentcuration tables (the last step in the process)

Copy link
Member

@jamalex jamalex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@rtibbles rtibbles merged commit eb0a659 into learningequality:unstable Mar 21, 2023
@rtibbles rtibbles deleted the no_publicity_for_old_channels branch March 21, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants