...
Expand | ||
---|---|---|
| ||
|
...
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 | ||
---|---|---|
| ||
# 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 |
...