Permalink
Browse files

Fix the spot looking for migrations

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 6c3be61 commit a4994d077fef643fec335f4e4bcc8450e5c13a7f @dhh dhh committed Sep 3, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/tasks/databases.rake
@@ -1,6 +1,6 @@
desc "Migrate the database according to the migrate scripts in db/migrate (only supported on PG/MySQL). A specific version can be targetted with VERSION=x"
task :migrate => :environment do
- ActiveRecord::Migrator.migrate("#{RAILS_ROOT}/db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
+ ActiveRecord::Migrator.migrate("db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
end
desc "Load fixtures into the current environment's database"

0 comments on commit a4994d0

Please sign in to comment.