diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-12-07 03:27:53 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-07 03:27:53 +0100 |
commit | dbbae5e00e49d3a69dc10978e38299e3f28dd1e1 (patch) | |
tree | 592710207a614428d5cb809f6e13c8b546b58969 /railties/lib | |
parent | 9eca588bdfbb41f6b48477025d1cd8eea4a38296 (diff) | |
download | rails-dbbae5e00e49d3a69dc10978e38299e3f28dd1e1.tar.gz rails-dbbae5e00e49d3a69dc10978e38299e3f28dd1e1.tar.bz2 rails-dbbae5e00e49d3a69dc10978e38299e3f28dd1e1.zip |
Merge with docrails
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/tasks/databases.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/databases.rake b/railties/lib/tasks/databases.rake index a90c1d4a77..3a576063fa 100644 --- a/railties/lib/tasks/databases.rake +++ b/railties/lib/tasks/databases.rake @@ -110,7 +110,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) |