default: &default
  adapter: postgresql
  encoding: unicode
  pool: 5

development:
  <<: *default
  database: pvb_development

test:
  <<: *default
  database: pvb_test

production:
  adapter: postgresql
  host: <%= ENV['DB_HOST'] %>
  encoding: unicode
  username: <%= ENV['DB_USERNAME'] %>
  password: <%= ENV['DB_PASSWORD'] %>
  database: <%= ENV['DB_NAME'] %>
  pool: 5

default: &default
  adapter: postgresql
  encoding: unicode
  host: 127.0.0.1
  pool: 5

development:
  <<: *default
  database: pvb_development

test:
  <<: *default
  database: pvb_test

production:
  adapter: postgresql
  host: <%= ENV['DB_HOST'] %>
  encoding: unicode
  username: <%= ENV['DB_USERNAME'] %>
  password: <%= ENV['DB_PASSWORD'] %>
  database: <%= ENV['DB_NAME'] %>
  pool: 5

Connect to localhost instead via the unix socket.
Connect to localhost instead via the unix socket.
