More heroku db fixes