diff --git a/CHANGELOG b/CHANGELOG index 621bc7ac..9b1a6b62 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Updated migrate action to use db:migrate task in Rails instead of the deprecated migrate task [DHH] + * Allow SSH user and port to be encoded in the hostname strings [Ezra Zygmuntowicz] * Fixed that new checkouts were not group-writable [DHH, Jamis Buck] diff --git a/lib/capistrano/recipes/standard.rb b/lib/capistrano/recipes/standard.rb index 59825983..62fa2d4a 100644 --- a/lib/capistrano/recipes/standard.rb +++ b/lib/capistrano/recipes/standard.rb @@ -158,7 +158,7 @@ task :migrate, :roles => :db, :only => { :primary => true } do end run "cd #{directory} && " + - "#{rake} RAILS_ENV=#{rails_env} #{migrate_env} migrate" + "#{rake} RAILS_ENV=#{rails_env} #{migrate_env} db:migrate" end desc <<-DESC