sqlite stuff for heroku