made database Heroku-friendly?