1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Updated migrate action to use db:migrate task in Rails instead of the deprecated migrate task [DHH]

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-12-01 05:43:35 +00:00
parent 296f5e6f37
commit a4509ac4b9
2 changed files with 3 additions and 1 deletions

View file

@ -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]

View file

@ -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