Answer the question
In order to leave comments, you need to log in
How to perform migrations via docker?
In a Symfony project, composer, nginx, php, mysql are loaded in docker-compose. You need to execute the command with docker-compose up, but after loading the database. How can I do that?
docker-compose exec php bin/console doctrine:migrations:migrate
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question