Skip to content

what is storage model migration? #20069

Closed Answered by Nik-09
kjuice276 asked this question in General GSoC Q&A (Web)
Mar 27, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @kjuice276 great question, basically migrations here mean modifying data that are already present in the production servers.
Imagine we are removing an existing field (say X) from the exploration. To make changes we modify the model layer code i.e., ExplorationModel class at the same time we also want to update all the ExplorationModel instances that are present in the Oppia production database. Thus we need to migrate the data from the old structure to the new structure and to do that we need to run beam jobs particularly exp_migration_job.

let me know if you have any more questions.
thanks

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@kjuice276
Comment options

@kjuice276
Comment options

Answer selected by kjuice276
Comment options

You must be logged in to vote
1 reply
@seanlip
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants