From 82ba3a79bf19d1d6d0a596914bbbcfaefa251874 Mon Sep 17 00:00:00 2001 From: Jason Noble Date: Sat, 3 Dec 2011 19:21:08 -0700 Subject: Move this into a section so that "Resetting the database" will show up in TOC --- railties/guides/source/migrations.textile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index 5e4d948b24..8df721782c 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -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 -- cgit v1.2.3