Skip to content

Commit

Permalink
Reword section to make it more readable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonnoble committed Dec 4, 2011
1 parent f41d099 commit 4130fe3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions railties/guides/source/migrations.textile
Expand Up @@ -529,10 +529,13 @@ can't be done.
h3. Running Migrations h3. Running Migrations


Rails provides a set of rake tasks to work with migrations which boil down to Rails provides a set of rake tasks to work with migrations which boil down to
running certain sets of migrations. The very first migration related rake task running certain sets of migrations.
you will use will probably be +db:migrate+. In its most basic form it just runs
the +up+ method for all the migrations that have not yet been run. If there are The very first migration related rake task you will use will probably be
no such migrations, it exits. +rake db:migrate+. In its most basic form it just runs the +up+ or +change+
method for all the migrations that have not yet been run. If there are
no such migrations, it exits. It will run these migrations in order based
on the date of the migration.


Note that running the +db:migrate+ also invokes the +db:schema:dump+ task, which 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. will update your db/schema.rb file to match the structure of your database.
Expand Down

0 comments on commit 4130fe3

Please sign in to comment.