Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Migrations can also run the "change" method

  • Loading branch information...
commit 93d9845c30c3b3080698ff72738feeaab1aceed4 1 parent 4130fe3
@jasonnoble jasonnoble authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/guides/source/migrations.textile
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.