Add pg adapter, add rails_12factor for deployment to heroku