Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add new DB rake tasks to the contributing section.

  • Loading branch information...
commit d35b76283bb1de54907e797ebcd4f3885a28a82c 1 parent a9ba6a9
@vipulnsward vipulnsward authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 guides/source/development_dependencies_install.md
View
14 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".
Please sign in to comment.
Something went wrong with that request. Please try again.