Skip to content

Commit

Permalink
Merge pull request #208 from joelpittet/patch-1
Browse files Browse the repository at this point in the history
Add once() to migrate as done in upstream tasks
  • Loading branch information
lorisleiva authored Oct 1, 2020
2 parents a8feae3 + bd87fa6 commit 36737da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/task/artisan.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
task('artisan:down', artisan('down', ['runInCurrent', 'showOutput']));

desc('Execute artisan migrate');
task('artisan:migrate', artisan('migrate --force', ['skipIfNoEnv']));
task('artisan:migrate', artisan('migrate --force', ['skipIfNoEnv']))->once();

desc('Execute artisan migrate:fresh');
task('artisan:migrate:fresh', artisan('migrate:fresh --force'));
Expand Down

0 comments on commit 36737da

Please sign in to comment.