package com.voodoodyne.postguice;

import org.hibernate.dialect.PostgreSQL95Dialect;

import java.sql.Types;

/**
 * Apparently hibernate's 9.5 dialect doesn't support jsonb. Weird.
 */
public class PostguicePostgreSQL96Dialect extends PostgreSQL95Dialect {
	public PostguicePostgreSQL96Dialect() {
		this.registerColumnType(Types.JAVA_OBJECT, "jsonb");
		this.registerFunction("fts", new SimpleFullTextSearchFunction());
	}
}
@@ -351,76 +351,8 @@
 %22);%0A
-%09%09this.registerFunction(%22fts%22, new SimpleFullTextSearchFunction());%0A
 %09%7D%0A%7D

Remove the 'fts' function from registration in the dialect