Skip to content

Instantly share code, notes, and snippets.

@curtis
Created August 14, 2014 20:14
Show Gist options
  • Save curtis/4628e0a48be7b7c38b73 to your computer and use it in GitHub Desktop.
Save curtis/4628e0a48be7b7c38b73 to your computer and use it in GitHub Desktop.
Sample local PostgreSQL database.yml file
defaults: &defaults
adapter: postgresql
host: localhost
encoding: unicode
pool: 5
username: USERNAME
password:
template: template0
development: &dev
<<: *defaults
database: APP_development
test: &test
<<: *defaults
database: APP_test
production:
<<: *dev
staging:
<<: *dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment