Compound unique index

A compound unique index should be created when multiple fields are specified as unique in a document.