Get rid of the flask-SQLAlchemy dependency