[schema] add a unique index on cwuri. Closes #4985752 [applied]