From 4ac6e131ccaa7044f538440926808fc13d312497 Mon Sep 17 00:00:00 2001 From: ThaDaVos Date: Sun, 7 Mar 2021 12:12:44 +0100 Subject: [PATCH] Fix for issue #2407 - Laravel migrations are only run on the first host due there being a `->once` on the task (#2408) Fix for issue #2407 - Laravel migrations are only run on the first host due there being a `->once` on the task --- recipe/laravel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/laravel.php b/recipe/laravel.php index c462ef5e..075f89c3 100644 --- a/recipe/laravel.php +++ b/recipe/laravel.php @@ -84,7 +84,7 @@ desc('Enable maintenance mode'); task('artisan:down', artisan('down', ['runInCurrent', 'showOutput'])); desc('Execute artisan migrate'); -task('artisan:migrate', artisan('migrate --force', ['skipIfNoEnv']))->once(); +task('artisan:migrate', artisan('migrate --force', ['skipIfNoEnv'])); desc('Execute artisan migrate:fresh'); task('artisan:migrate:fresh', artisan('migrate:fresh --force'));