renamed db field schemaid to schemaId