Skip to content

Instantly share code, notes, and snippets.

@gouvermxt
Last active August 17, 2017 18:37
Show Gist options
  • Save gouvermxt/c863a32431f2e381fca67345c24902a2 to your computer and use it in GitHub Desktop.
Save gouvermxt/c863a32431f2e381fca67345c24902a2 to your computer and use it in GitHub Desktop.
Rails database configuration file for use with my Vagrantfile and PostgreSQL
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