This is probably a duplicate of this question.
My question is how should I approach this when working in a docker environment so for my project I have a docker-compose.yml and docker-compose-deploy.yml for my production environment and obviously migration files are generated only in the docker images and aren't included in my version control system.
How should I approach this? should I stop using Docker as my development environment and go for something like virtual environments or even machines?