store schema in repository