Skip to content

Commit

Permalink
feat: use the --all-or-nothing flags for migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored and maxhelias committed Apr 22, 2024
1 parent c7c788a commit dc170d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frankenphp/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
fi

if [ "$( find ./migrations -iname '*.php' -print -quit )" ]; then
php bin/console doctrine:migrations:migrate --no-interaction
php bin/console doctrine:migrations:migrate --no-interaction --all-or-nothing
fi
fi

Expand Down

0 comments on commit dc170d9

Please sign in to comment.