SQLAlchemy restored