aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
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 /activerecord
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 'activerecord')
-rw-r--r--activerecord/lib/active_record/migration.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index 1d843fff28..15350cf1e1 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -130,7 +130,9 @@ module ActiveRecord
# To run migrations against the currently configured database, use
# <tt>rake db:migrate</tt>. This will update the database by running all of the
# pending migrations, creating the <tt>schema_migrations</tt> table
- # (see "About the schema_migrations table" section below) if missing.
+ # (see "About the schema_migrations table" section below) if missing. It will also
+ # invoke the db:schema:dump task, which will update your db/schema.rb file
+ # to match the structure of your database.
#
# To roll the database back to a previous migration version, use
# <tt>rake db:migrate VERSION=X</tt> where <tt>X</tt> is the version to which