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
This commit is contained in:
ThaDaVos 2021-03-07 12:12:44 +01:00 committed by GitHub
parent f9141c0cf7
commit 4ac6e131cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'));