From 6900a2ae120b21994ab9fb9e649b04e9beca3a42 Mon Sep 17 00:00:00 2001 From: Mathieu GILLOOTS Date: Thu, 3 Nov 2016 23:47:16 +0100 Subject: [PATCH] Don't stop the deploy process when zero migrations --- recipe/symfony.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/symfony.php b/recipe/symfony.php index d11eb18d..6a17a08b 100644 --- a/recipe/symfony.php +++ b/recipe/symfony.php @@ -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');