Skip to content

Commit dc170d9

Browse files
dunglasmaxhelias
authored andcommitted
feat: use the --all-or-nothing flags for migrations
1 parent c7c788a commit dc170d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frankenphp/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
4949
fi
5050

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

0 commit comments

Comments
 (0)