Closed Mika56 closed 2 weeks ago
Well, it depends.
You can do it by adding in your deploy.php:
task('database:migration')->once();
This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.
Read more: [https://github.com/deployphp/deployer/discussions/3888]
This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.
Read more: [https://github.com/deployphp/deployer/discussions/3888]
Because
database:migration
task alters the database, it should only be executed once, not by every host.As such,
->once()
should be called when defining the taskUpvote & Fund