aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks
diff options
context:
space:
mode:
authorTrevor Turk <trevorturk@yahoo.com>2008-11-15 12:53:36 -0600
committerTrevor Turk <trevorturk@yahoo.com>2008-11-15 12:53:36 -0600
commit22a5acaa99f56e5a9b8ab39c8e24765c0f2ccba4 (patch)
tree8298740ddf151d31b322f17aa51dd75633b9a138 /railties/lib/tasks
parent1d910aac0a90fc881224f90b1a380ffa5435eb9d (diff)
downloadrails-22a5acaa99f56e5a9b8ab39c8e24765c0f2ccba4.tar.gz
rails-22a5acaa99f56e5a9b8ab39c8e24765c0f2ccba4.tar.bz2
rails-22a5acaa99f56e5a9b8ab39c8e24765c0f2ccba4.zip
note that rake:db:migrate updates db/schema.rb by invoking db:schema:dump
Diffstat (limited to 'railties/lib/tasks')
-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 5cb27f1f10..1aa09f2e57 100644
--- a/railties/lib/tasks/databases.rake
+++ b/railties/lib/tasks/databases.rake
@@ -105,7 +105,7 @@ namespace :db do
end
- desc "Migrate the database through scripts in db/migrate. Target specific version with VERSION=x. Turn off output with VERBOSE=false."
+ desc "Migrate the database through scripts in db/migrate and update db/schema.rb by invoking db:schema:dump. Target specific version with VERSION=x. Turn off output with VERBOSE=false."
task :migrate => :environment do
ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
ActiveRecord::Migrator.migrate("db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)