mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Merge pull request #836 from mathieu-gilloots/master
Don't stop the deploy process when zero migrations
This commit is contained in:
commit
5b7ae5be20
@ -90,7 +90,7 @@ task('deploy:cache:warmup', function () {
|
||||
* Migrate database
|
||||
*/
|
||||
task('database:migrate', function () {
|
||||
run('{{bin/php}} {{release_path}}/' . trim(get('bin_dir'), '/') . '/console doctrine:migrations:migrate --env={{env}} --no-debug --no-interaction');
|
||||
run('{{bin/php}} {{release_path}}/' . trim(get('bin_dir'), '/') . '/console doctrine:migrations:migrate --env={{env}} --no-debug --no-interaction --allow-no-migration');
|
||||
})->desc('Migrate database');
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user