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 committed Apr 22, 2024
1 parent 9152eba commit a06808b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/frankenphp/docker-entrypoint.sh
Expand Up @@ -29,7 +29,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 a06808b

Please sign in to comment.