diff options
author | Jay Hayes <jay@bignerdranch.com> | 2013-08-29 11:12:57 -0500 |
---|---|---|
committer | Jay Hayes <jay@bignerdranch.com> | 2013-08-29 11:12:57 -0500 |
commit | d4863f30de023d0f6817afcddc114889493e6d3c (patch) | |
tree | fbd3c545876b655a12b6b0aa4a8a61b1941ac947 | |
parent | 63949ae0122afcad084c01b56dd0c1640322c75d (diff) | |
download | rails-d4863f30de023d0f6817afcddc114889493e6d3c.tar.gz rails-d4863f30de023d0f6817afcddc114889493e6d3c.tar.bz2 rails-d4863f30de023d0f6817afcddc114889493e6d3c.zip |
Note functional equivalence in reset task
-rw-r--r-- | guides/source/migrations.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md index 6100fc89c8..55bb89bd71 100644 --- a/guides/source/migrations.md +++ b/guides/source/migrations.md @@ -694,8 +694,8 @@ version to migrate to. ### Resetting the Database -The `rake db:reset` task will drop the database, recreate it and load the -current schema into it. +The `rake db:reset` task will drop the database and set it up again. This is +functionally eqivalent to `rake db:drop db:setup` NOTE: This is not the same as running all the migrations. It will only use the contents of the current schema.rb file. If a migration can't be rolled back, |