Steps for generating and applying Django migrations
Use this skill continuously after modifying any models.py schema logic to apply the changes to the database.
cd app/python manage.py makemigrationspython manage.py migrate.py migration output to ensure logical alignment with your model edits.If your changes in Django models don't cause a change in the actual database schema, you don't need to create a migration at all.
Typical changes that do not affect the DB schema include:
choicesverbose_namehelp_textIn these cases:
makemigrations just to capture these metadata-only changes.