Schemas are read from both repository and database