Permalink
Browse files

Migrations can also run the "change" method

  • Loading branch information...
1 parent 4130fe3 commit 93d9845c30c3b3080698ff72738feeaab1aceed4 @jasonnoble jasonnoble committed Dec 4, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 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

0 comments on commit 93d9845

Please sign in to comment.