defaults: &defaults
  adapter: <%= ENV['DB_ADAPTER'] || 'postgresql' %>
  encoding: <%= ENV['DB_ADAPTER'] == "mysql2" ? "utf8mb4" : "" %>
  username: <%= ENV["DB_ADAPTER"] == "postgresql" ? 'postgres' : '' %>
  database: roadmap_<%= ENV['RAILS_ENV'] %>
  pool: 16

development:
  <<: *defaults

test:
  <<: *defaults
