aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks/databases.rake
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-03 16:24:36 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-03 16:24:36 +0000
commita4994d077fef643fec335f4e4bcc8450e5c13a7f (patch)
tree5cb071f5d87e7292e7502e39b83915363d8c1bea /railties/lib/tasks/databases.rake
parent6c3be611d453ede071311f683445dafc258c04e2 (diff)
downloadrails-a4994d077fef643fec335f4e4bcc8450e5c13a7f.tar.gz
rails-a4994d077fef643fec335f4e4bcc8450e5c13a7f.tar.bz2
rails-a4994d077fef643fec335f4e4bcc8450e5c13a7f.zip
Fix the spot looking for migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/tasks/databases.rake')
-rw-r--r--railties/lib/tasks/databases.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/databases.rake b/railties/lib/tasks/databases.rake
index b4b759c6f9..58b1d22a38 100644
--- a/railties/lib/tasks/databases.rake
+++ b/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"