Use standard SQLAlchemy models rather than the Flask-SQLAlchemy magic, as
it requires a global Flask app object and SQLAlchemy db object.