aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/development_dependencies_install.md
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-01-23 20:45:31 +0530
committerVipul A M <vipulnsward@gmail.com>2013-01-23 20:45:31 +0530
commitd35b76283bb1de54907e797ebcd4f3885a28a82c (patch)
tree2f62758d27d551750db9004633bc89486d9e9052 /guides/source/development_dependencies_install.md
parenta9ba6a9322efdcaf54809cbbba6acb091eff0466 (diff)
downloadrails-d35b76283bb1de54907e797ebcd4f3885a28a82c.tar.gz
rails-d35b76283bb1de54907e797ebcd4f3885a28a82c.tar.bz2
rails-d35b76283bb1de54907e797ebcd4f3885a28a82c.zip
Add new DB rake tasks to the contributing section.
Diffstat (limited to 'guides/source/development_dependencies_install.md')
-rw-r--r--guides/source/development_dependencies_install.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md
index db43d62fcf..6493c1e1ec 100644
--- a/guides/source/development_dependencies_install.md
+++ b/guides/source/development_dependencies_install.md
@@ -174,6 +174,20 @@ $ cd activerecord
$ bundle exec rake postgresql:build_databases
```
+It is possible to build databases for both PostgreSQL and MySQL with
+
+```bash
+$ cd activerecord
+$ bundle exec rake db:create
+```
+
+You can cleanup the databases using
+
+```bash
+$ cd activerecord
+$ bundle exec rake db:drop
+```
+
NOTE: Using the rake task to create the test databases ensures they have the correct character set and collation.
NOTE: You'll see the following warning (or localized warning) during activating HStore extension in PostgreSQL 9.1.x or earlier: "WARNING: => is deprecated as an operator".