expose baseschema from db