Brett Meyer commented on an issue
Hibernate ORM / Bug HHH-5247
Schema validator doesn't check indices or unique keys
The schema validator currently only checks that the columns in the persistence store exist and have the correct data types. I'm not sure if it's a bug or intended behavior (in which case this would be an enhancement), but the validator doesn't check that indices and unique keys also exist (with the correct names referring to the correct columns).

I've at...