# This is only used for standalone_migrations. In other contexts
# Travis.config.database will be used.

defaults: &defaults
  adapter: postgresql
  encoding: unicode
  pool: 5
  min_messages: warning
  username: <%= ENV['USER'] %>

production:
  <<: *defaults
  database: travis_development

development:
  <<: *defaults
  database: travis_development

test:
  <<: *defaults
  database: travis_test


# This is only used for standalone_migrations. In other contexts
# Travis.config.database will be used.

defaults: &defaults
  adapter: postgresql
  encoding: unicode
  pool: 5
  min_messages: warning
  username: <%= ENV['USER'] %>
  host: localhost

production:
  <<: *defaults
  database: travis_development

development:
  <<: *defaults
  database: travis_development

test:
  <<: *defaults
  database: travis_test


Use localhost in development mode.
Use localhost in development mode.
