Created
October 19, 2018 13:07
-
-
Save LuisErnestoZamb/43804ca1c1ebc3d05bf32c55e55b8671 to your computer and use it in GitHub Desktop.
database.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: &default | |
adapter: <%= ENV["DB_ADAPTER"] || "mysql2" %> | |
encoding: utf8 | |
url: <%= ENV["DATABASE_URL"] %> | |
pool: <%= ENV["DB_POOL"] || 5 %> | |
checkout_timeout: <%= ENV["DB_TIMEOUT"] || 5 %> | |
reconnect: true | |
development: | |
<<: *default | |
staging: | |
<<: *default | |
test: | |
adapter: sqlite3 | |
database: db/test.sqlite3 | |
production: | |
<<: *default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment