Hibernate validate fails on enum

I’m getting the same error and tried fo fix it by modifying the column type to enum, as suggest. However, with H2, I’m getting

Schema-validation: wrong column type encountered in column [match_type] in table [potential_match]; found [enum (Types#OTHER)], but expecting [varchar(255) (Types#VARCHAR)]
	at org.hibernate.tool.schema.internal.AbstractSchemaValidator.validateColumnType(AbstractSchemaValidator.java:165)
	at org.hibernate.tool.schema.internal.AbstractSchemaValidator.validateTable(AbstractSchemaValidator.java:152)
	at org.hibernate.tool.schema.internal.GroupedSchemaValidatorImpl.validateTables(GroupedSchemaValidatorImpl.java:46)
	at org.hibernate.tool.schema.internal.AbstractSchemaValidator.performValidation(AbstractSchemaValidator.java:97)
	at org.hibernate.tool.schema.internal.AbstractSchemaValidator.doValidation(AbstractSchemaValidator.java:75)
	at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:295)
	at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:145)

The problem is in org.hibernate.dialect.H2Dialect which does not override public String getEnumTypeDeclaration(String name, String[] values) even though H2 now supports enum types:
https://www.h2database.com/html/datatypes.html#enum_type