Skip to content

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

Merged
rtibbles merged 1 commit intolearningequality:unstablefrom
rtibbles:no_publicity_for_old_channels
Mar 21, 2023
Merged

Migrate channel databases before import to guarantee compatible schema.#3996
rtibbles merged 1 commit intolearningequality:unstablefrom
rtibbles:no_publicity_for_old_channels

Conversation

@rtibbles
Copy link
Copy Markdown
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
Copy Markdown
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