diff options
author | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:19:59 -0700 |
---|---|---|
committer | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:31:44 -0700 |
commit | 93d9845c30c3b3080698ff72738feeaab1aceed4 (patch) | |
tree | 935f460066b46bbb556fb6c5898f0b3a7e3f3015 /railties | |
parent | 4130fe3a5bb85053e4729a16c2aafdd50faa7817 (diff) | |
download | rails-93d9845c30c3b3080698ff72738feeaab1aceed4.tar.gz rails-93d9845c30c3b3080698ff72738feeaab1aceed4.tar.bz2 rails-93d9845c30c3b3080698ff72738feeaab1aceed4.zip |
Migrations can also run the "change" method
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/migrations.textile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index 02f6557bb8..381c1055d9 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -541,9 +541,9 @@ Note that running the +db:migrate+ also invokes the +db:schema:dump+ task, which will update your db/schema.rb file to match the structure of your database. If you specify a target version, Active Record will run the required migrations -(up or down) until it has reached the specified version. The version is the -numerical prefix on the migration's filename. For example, to migrate to version -20080906120000 run +(up or down or change) until it has reached the specified version. The version +is the numerical prefix on the migration's filename. For example, to migrate +to version 20080906120000 run <shell> $ rake db:migrate VERSION=20080906120000 |