Partial SQL backend using SQLAlchemy.