Represents a database view whose columns are the possible types of metadata.
Rebuild the database view which is a pivoted version of the metadata. This will be called automatically whenever a repository is saved.
Set up this class. If repositories are changed, this needs to be called.