Skip to content

Update: Trigger content migrations on plugin update#89

Open
taylortom wants to merge 1 commit intomasterfrom
feature/direct-migrations
Open

Update: Trigger content migrations on plugin update#89
taylortom wants to merge 1 commit intomasterfrom
feature/direct-migrations

Conversation

@taylortom
Copy link
Copy Markdown
Contributor

Update

  • updatePlugin() now captures before/after plugin versions via readFrameworkPluginVersions
  • Finds courses using the updated plugin and calls framework.migrateCourses() to run content migrations

Testing

Fix

  • n/a

Call framework.migrateCourses() after updating a plugin to migrate
content in courses that use the updated plugin.
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