Skip to content
Browse files

Fixed symfony:doctrine:schema:drop - added --force

Task symfony:doctrine:schema:drop never actually droped schema because of missing --force parameter.
  • Loading branch information...
1 parent 2222ffa commit 67eba749abc052bd11205e851a68fcf91ff8b03c @viliam-husar viliam-husar committed Jan 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/symfony2/doctrine.rb
View
2 lib/symfony2/doctrine.rb
@@ -56,7 +56,7 @@
task :drop, :roles => :app, :except => { :no_release => true } do
capifony_pretty_print "--> Droping schema"
- run "#{try_sudo} sh -c 'cd #{latest_release} && #{php_bin} #{symfony_console} doctrine:schema:drop --env=#{symfony_env_prod}'", :once => true
+ run "#{try_sudo} sh -c 'cd #{latest_release} && #{php_bin} #{symfony_console} doctrine:schema:drop --force --env=#{symfony_env_prod}'", :once => true
capifony_puts_ok
end

0 comments on commit 67eba74

Please sign in to comment.
Something went wrong with that request. Please try again.