lib/capistrano/tasks/migrations.rake in capistrano-rails-1.6.1 vs lib/capistrano/tasks/migrations.rake in capistrano-rails-1.6.2

- old
+ new

@@ -8,10 +8,10 @@ conditionally_migrate = fetch(:conditionally_migrate) info '[deploy:migrate] Checking changes in db' if conditionally_migrate if conditionally_migrate && test(:diff, "-qr #{release_path}/db #{current_path}/db") info '[deploy:migrate] Skip `deploy:migrate` (nothing changed in db)' else - info '[deploy:migrate] Run `rake db:migrate`' + info "[deploy:migrate] Run `rake #{fetch(:migration_command)}`" # NOTE: We access instance variable since the accessor was only added recently. Once capistrano-rails depends on rake 11+, we can revert the following line invoke :'deploy:migrating' unless Rake::Task[:'deploy:migrating'].instance_variable_get(:@already_invoked) end end end