Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleTable of Contents

Table of Contents


...

Overview

Figures out which database you're using and drops you into whichever command line interface you would use with it (and figures out the command line parameters to give to it, too!).

It supports:

  • MySQL
  • PostgreSQL
  • SQLite
  • SQLite3

Example

Code Block
languagenone
# These are the same command and load db for current environment
$ rails dbconsoledb
$ rails dbdbconsole

# Can also load db for test environment
$ rails db test

...