Second go at the Flask Postgresql Heroku tut