Skip to content

Instantly share code, notes, and snippets.

@falonofthetower
Last active June 19, 2017 19:17
Show Gist options
  • Save falonofthetower/5186a6de4db1ffadaddc7c759a52d5b7 to your computer and use it in GitHub Desktop.
Save falonofthetower/5186a6de4db1ffadaddc7c759a52d5b7 to your computer and use it in GitHub Desktop.
default: &default
adapter: postgresql
encoding: unicode
pool: 5
timeout: 5000
username: <%= ENV['POSTGRES_USERNAME'] %>
password: <%= ENV['POSTGRES_PASSWORD'] %>
host: localhost
development:
database: project_name
<<: *default
# 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:
database: project_name_test
<<: *default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment