How to synchronize Django database migration on VPS and inside django container?

I have a task to set up work with migrations. In this photo I am on the VPS and when I try to see apps migrations, there is only one migration file(0001_initial.py) in every app.

enter image description here

And for example if I change something in models.py and run 'makemigrations & migrate' commands, the new migration file won't appear here on the VPS, it will only appear inside the django container

enter image description here

And the question here is how can I set up migrations so that when I run

docker-compose -f docker-compose.dev.yml exec web_dev python manage.py makemigrations
docker-compose -f docker-compose.dev.yml exec web_dev python manage.py migrate

commands from the VPS, migration files appear here in the VPS and not only inside the django container?

Back to Top