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 gem 'pg' in the gemfile. But I cant figure out how to change database.yml.
How should my database.yml look? How it currently looks like:
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
Should I just replace development with this?
development:
adapter: postgresql
encoding: unicode
database: poets_app_development
pool: 5
username: poets_app
password: