Check for for files in subdirectories of migrations/
This commit is contained in:
parent
fcff96b691
commit
8de8127aba
@ -61,7 +61,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
||||
echo "The db is now ready and reachable"
|
||||
fi
|
||||
|
||||
if ls -A migrations/*.php >/dev/null 2>&1; then
|
||||
if [ "$( find ./migrations -iname '*.php' -print -quit )" ]; then
|
||||
bin/console doctrine:migrations:migrate --no-interaction
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user