configured sqlite for local and pg for heroku