From 93d9845c30c3b3080698ff72738feeaab1aceed4 Mon Sep 17 00:00:00 2001 From: Jason Noble Date: Sat, 3 Dec 2011 19:19:59 -0700 Subject: Migrations can also run the "change" method --- railties/guides/source/migrations.textile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'railties/guides') 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 $ rake db:migrate VERSION=20080906120000 -- cgit v1.2.3