1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Move this into a section so that "Resetting the database" will show up in TOC

This commit is contained in:
Jason Noble 2011-12-03 19:21:08 -07:00
parent d8c8bf5f05
commit 82ba3a79bf

View file

@ -586,7 +586,9 @@ Neither of these Rake tasks do anything you could not do with +db:migrate+. They
are simply more convenient, since you do not need to explicitly specify the
version to migrate to.
Lastly, the +db:reset+ task will drop the database, recreate it and load the
h4. Resetting the database
The +rake db:reset+ task will drop the database, recreate it and load the
current schema into it.
NOTE: This is not the same as running all the migrations - see the section on