sqlite: &sqlite adapter: sqlite3 database: db/rails_db.sqlite3 mysql: &mysql adapter: mysql2 username: root password: database: rails_db postgresql: &postgresql adapter: postgresql username: postgres password: database: rails_db min_messages: ERROR defaults: &defaults pool: 5 timeout: 5000 host: localhost <<: *<%= ENV['DB'] || "postgresql" %> development: <<: *defaults test: <<: *defaults production: <<: *defaults