From 5f08154230f69a8aee88d72e09fe088bf728f506 Mon Sep 17 00:00:00 2001 From: Jay Hayes Date: Thu, 29 Aug 2013 11:18:07 -0500 Subject: Add documentation for rake db:setup task --- guides/source/migrations.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'guides/source') diff --git a/guides/source/migrations.md b/guides/source/migrations.md index 55bb89bd71..d154dae752 100644 --- a/guides/source/migrations.md +++ b/guides/source/migrations.md @@ -692,6 +692,11 @@ 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. +### Setup the Database + +The `rake db:setup` task will create the database, load the schema and initialize +it with seed data. + ### Resetting the Database The `rake db:reset` task will drop the database and set it up again. This is -- cgit v1.2.3