title: Rails: going from sqlite -> postgres
body: <p>I built a rails app (with sqllite) and I want to push it to heroku. I know I have to use postgres so I have to add production use <code>gem 'pg'</code> in the gemfile. But I cant figure out how to change database.yml. </p>
  
  <p>How should my database.yml look? How it currently looks like:</p>
  
  <pre><code>development:
    adapter: sqlite3
    database: db/development.sqlite3
    pool: 5
    timeout: 5000
  
  test:
    adapter: sqlite3
    database: db/test.sqlite3
    pool: 5
    timeout: 5000
  
  production:
    adapter: sqlite3
    database: db/production.sqlite3
    pool: 5
    timeout: 5000
  </code></pre>
  
  <p>Should I just replace development with this?</p>
  
  <pre><code>development:
    adapter: postgresql
    encoding: unicode
    database: poets_app_development
    pool: 5
    username: poets_app
    password:
  </code></pre>
  
  <h2>Username and password!? I never set that up for sqlite so where does it come from ?</h2>