Fix db dependencies for Heroku