Skip to content

Instantly share code, notes, and snippets.

@goncalvesjoao
Created December 1, 2017 00:57
Show Gist options
  • Save goncalvesjoao/4388cc1455f78785829eb6db8e6ef74f to your computer and use it in GitHub Desktop.
Save goncalvesjoao/4388cc1455f78785829eb6db8e6ef74f to your computer and use it in GitHub Desktop.
rails postgres database.yml example
default: &default
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
database: app_name_development
username: postgres
password:
test:
<<: *default
database: app_name_test
username: postgres
password:
production:
<<: *default
database: app_name_production
username: postgres
password:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment