django-planet
June 28, 2022

How to Run a Django Migration “By Hand”

published by Adam Johnson
in blog Adam Johnson
original entry How to Run a Django Migration “By Hand”

Normally your Django project’s deploy process runs the migrate command, and that takes care of updating your database as necessary. Especially on smaller databases, Django’s migration system can “just do it” for you.

But sometimes it can be necessary to run migrations “by hand” in your database’s …