We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcff96b commit 8de8127Copy full SHA for 8de8127
docker/php/docker-entrypoint.sh
@@ -61,7 +61,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
61
echo "The db is now ready and reachable"
62
fi
63
64
- if ls -A migrations/*.php >/dev/null 2>&1; then
+ if [ "$( find ./migrations -iname '*.php' -print -quit )" ]; then
65
bin/console doctrine:migrations:migrate --no-interaction
66
67
0 commit comments