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:
parent
d8c8bf5f05
commit
82ba3a79bf
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue