sqlalchemy models converted to raw sql. changed schema.