steps:
  - if [ "no" = "%fetch_mysql%" ] && [ "yes" = "%run_mysql%" ]; then app/console doctrine:schema:create --env=%deploy_symfony_env%; fi
  - if [ "yes" = "%run_mysql%" ] && [ -d "app/DoctrineMigrations" ]; then app/console doctrine:migrations:migrate --env=%deploy_symfony_env% --no-interaction; fi

steps:
  - if [ "no" = "%fetch_mysql%" ] && [ "yes" = "%run_mysql%" ]; then app/console doctrine:schema:create --env=%deploy_symfony_env%; fi
  - if [ "yes" = "%run_mysql%" ] && [ -d "app/DoctrineMigrations" ] && [ -f "app/console" ]; then app/console doctrine:migrations:migrate --env=%deploy_symfony_env% --no-interaction; fi
  - if [ "yes" = "%run_mysql%" ] && [ -d "app/DoctrineMigrations" ] && [ -f "bin/console" ]; then bin/console doctrine:migrations:migrate --env=%deploy_symfony_env% --no-interaction; fi

Fix build phase for symfony 3
Fix build phase for symfony 3
