Upgrading Keycloak from 18.0.0 to 20.0.3 with MySQL

We have issues with our upgrade from 18-20, seems that upgrading to 19 works fine, but when I try with 20.0.3 it fail with this errors, same errors if I create a new empty database.

mykeycloak   | 2023-01-30 07:45:49,945 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
mykeycloak   | 2023-01-30 07:45:49,945 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to update database
mykeycloak   | 2023-01-30 07:45:49,945 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: liquibase.exception.MigrationFailedException: Migration failed for change set META-INF/jpa-changelog-8.0.0.xml::8.0.0-updating-credential-data-not-oracle-fixed::keycloak:
mykeycloak   |      Reason: liquibase.exception.DatabaseException: Syntax error in SQL statement "UPDATE PUBLIC.CREDENTIAL SET CREDENTIAL_DATA = CONCAT('{""hashIterations"":', HASH_ITERATIONS, ',""algorithm"":""', ALGORITHM, '""}'), PRIORITY = '10', SECRET_DATA = CONCAT('{""value"":""', REPLACE([*]VALUE, '""', '\\\\""'), '"",""salt"":""__SALT__""}') WHERE TYPE = 'password' OR TYPE = 'password-history'"; expected "INTERSECTS (, NOT, EXISTS, UNIQUE, INTERSECTS"; SQL statement:
mykeycloak   | UPDATE PUBLIC.CREDENTIAL SET CREDENTIAL_DATA = CONCAT('{"hashIterations":', HASH_ITERATIONS, ',"algorithm":"', ALGORITHM, '"}'), PRIORITY = '10', SECRET_DATA = CONCAT('{"value":"', REPLACE(VALUE, '"', '\\"'), '","salt":"__SALT__"}') WHERE TYPE = 'password' OR TYPE = 'password-history' [42001-214] [Failed SQL: (42001) UPDATE PUBLIC.CREDENTIAL SET CREDENTIAL_DATA = CONCAT('{"hashIterations":', HASH_ITERATIONS, ',"algorithm":"', ALGORITHM, '"}'), PRIORITY = '10', SECRET_DATA = CONCAT('{"value":"', REPLACE(VALUE, '"', '\\"'), '","salt":"__SALT__"}') WHERE TYPE = 'password' OR TYPE = 'password-history']