migrate to postgresql and deploy to heroku