Fix unique index in SchemaDumper