Fixed SQL(ite) for use with Heroku