Skip to content

Commit

Permalink
Changed comment section to be more explicit. I had an issue with roll…
Browse files Browse the repository at this point in the history
…ing back a migration and couldn't understand why 'rake db:reset' didn't work.
  • Loading branch information
johngallagher committed Oct 27, 2012
1 parent cc81af2 commit c570ba7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions guides/source/migrations.md
Expand Up @@ -684,8 +684,9 @@ version to migrate to.
The `rake db:reset` task will drop the database, recreate it and load the The `rake db:reset` task will drop the database, recreate it and load the
current schema into it. current schema into it.


NOTE: This is not the same as running all the migrations - see the section on NOTE: This is not the same as running all the migrations. It will only use the contents
[schema.rb](#schema-dumping-and-you). of the current schema.rb file. If a migration can't be rolled back, 'rake db:reset'
may not help you. To find out more about dumping the schema see [schema.rb](#schema-dumping-and-you).


### Running Specific Migrations ### Running Specific Migrations


Expand Down

0 comments on commit c570ba7

Please sign in to comment.