Switch SQLAlchemy configuration to flask-sqlalchemy.