HHH-8275 union-subclass generates bad alter table for unique constraint