Last active
August 17, 2017 18:37
-
-
Save gouvermxt/c863a32431f2e381fca67345c24902a2 to your computer and use it in GitHub Desktop.
Rails database configuration file for use with my Vagrantfile and PostgreSQL
This file contains 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: postgresql | |
pool: 5 | |
timeout: 5000 | |
host: localhost | |
username: vagrant | |
password: vagrant | |
development: | |
<<: *default | |
database: database_dev | |
# Warning: The database defined as "test" will be erased and | |
# re-generated from your development database when you run "rake". | |
# Do not set this db to the same as development or production. | |
test: | |
<<: *default | |
database: database_test | |
#production: | |
# <<: *default | |
# database: db/production.sqlite3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment