Skip to content

Instantly share code, notes, and snippets.

@rtcoms
Forked from joselo/database.yml
Created July 10, 2012 16:09
Show Gist options
  • Save rtcoms/3084354 to your computer and use it in GitHub Desktop.
Save rtcoms/3084354 to your computer and use it in GitHub Desktop.
database.yml config file for postgresql
default: &local_defaults
adapter: postgresql
host: localhost
port: 5432
min_messages: warning
encoding: utf8
username: postgres
password:
template: template0
development:
<<: *local_defaults
database: myapp_development
test:
<<: *local_defaults
database: myapp_test
staging:
<<: *local_defaults
database: myapp_development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment