From bc6e504e8f247eb2a04cbc7834958e0735747a18 Mon Sep 17 00:00:00 2001 From: bertbijnens Date: Thu, 30 May 2024 16:13:52 +0200 Subject: [PATCH] PHP: artisan migrate with force, isolate, no-interaction --- php-base/scripts/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-base/scripts/docker-entrypoint.sh b/php-base/scripts/docker-entrypoint.sh index a9e7953..08c7e1c 100755 --- a/php-base/scripts/docker-entrypoint.sh +++ b/php-base/scripts/docker-entrypoint.sh @@ -40,7 +40,7 @@ elif [ "$1" = 'queue' ]; then # Init script, for use in initContainers (for example) elif [ "$1" = 'init' ]; then - exec php artisan migrate --isolated + exec php artisan migrate --isolated --no-interaction --force # Helper to run artisan commands elif [ "$1" = 'artisan' ]; then