Backend Developer

Case File: The Migration That Must Not Run

Friday deploys change the database with numbered migration files, and one deploy ran on a database whose history was wrong. Write the planner: sort the files, find duplicates, gaps, files that were edited after they ran and files that went missing, refuse to run anything when there is a problem, and otherwise list what is pending. Run it on states you cannot see. The history is generated for you alone.

50 min

Case File: The Migration That Must Not Run

Friday deploys change the database with numbered migration files, and one deploy ran on a database whose history was wrong. Write the planner: sort the files, find duplicates, gaps, files that were edited after they ran and files that went missing, refuse to run anything when there is a problem, and otherwise list what is pending. Run it on states you cannot see. The history is generated for you alone.

In this lesson:

  • migrations
  • databases
  • deployment
  • python
  • devops
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans