whenever you do changes to database models in Django:
- run
python manage.py makemigrations - run
python manage.py migrate - add the newly created migration file to git.
git add <migration_file_name>. You will find this file in migrations directory of your app.git add <models.py file>.
- commit the file to git.