Fixing inaccessible db error when pushing to Heroku