database.yml 516 B

1234567891011121314151617
  1. default: &default
  2. adapter: postgresql
  3. user: <%= ENV['POSTGRES_USER'] %>
  4. password: <%= ENV['POSTGRES_PASSWORD'] %>
  5. pool: <%= ENV.fetch('RAILS_MAX_THREADS') { 5 } %>
  6. timeout: 5000
  7. development:
  8. <<: *default
  9. database: <%= ENV['POSTGRES_DB'] %>
  10. # Warning: The database defined as "test" will be erased and
  11. # re-generated from your development database when you run "rake".
  12. # Do not set this db to the same as development or production.
  13. test:
  14. <<: *default
  15. database: <%= ENV['POSTGRES_DB'] + "_test" %>