Skip to content

Commit

Permalink
Merge pull request #1 from mekras/env_aware_migrate
Browse files Browse the repository at this point in the history
"migrate" task ignores Symfony environment.
  • Loading branch information
leopoiroux committed Oct 15, 2014
2 parents a964421 + 5521515 commit 6077365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
info("symfony2:migrate","Doctrine migrate");
$cmd = array(
"cd {$app->env->release_dir}",
"php app/console doctrine:migrations:migrate -n"
"php app/console doctrine:migrations:migrate -n --env={$app->env->symfony2["env"]}"
);

run($cmd);
Expand Down

0 comments on commit 6077365

Please sign in to comment.