title: How to configure database.yml for deployment to Heroku
body: <p>I recently upgraded to the newest version of Rails, and I don't understand how to deploy applications to Heroku.</p>
  
  <p>Here is my <code>database.yml</code> file</p>
  
  <pre><code>default: &amp;default
    adapter: postgresql
    pool: 5
    timeout: 5000
  
  development:
    &lt;&lt;: *default
    database: db/development.sqlite3
  
  test:
    &lt;&lt;: *default
    database: db/test.sqlite3
  
  production:
    &lt;&lt;: *default
    database: db/production.sqlite3
  </code></pre>
  
  <p>I have never seen this syntax before in database.yml. Does anyone know how to configure this?</p>
  
  <p>It looks a lot different than what I'm used to</p>
  
  <pre><code>development:
   adapter: mysql2
   encoding: utf8
   database: my_app_development
   pool: 5
   username: root
   password:
  
  test:
   adapter: mysql2
   encoding: utf8
   database: my_app_test
   pool: 5
   username: root
   password:
  
  
  production:
   adapter: mysql2
   encoding: utf8
   database: ymca_gym_production
   pool: 5
   username: root
   password:
  </code></pre>
  
  <p>Thanks</p>