Class JpaUpdate26_5_0_OrgTablesSetDefaultCharsetAndCollation

java.lang.Object
org.keycloak.connections.jpa.updater.liquibase.custom.CustomKeycloakTask
org.keycloak.connections.jpa.updater.liquibase.custom.JpaUpdate26_5_0_OrgTablesSetDefaultCharsetAndCollation
All Implemented Interfaces:
liquibase.change.custom.CustomChange, liquibase.change.custom.CustomSqlChange

public class JpaUpdate26_5_0_OrgTablesSetDefaultCharsetAndCollation extends CustomKeycloakTask
Ensures ORG.ID column and ORG_INVITATION table has set the default charset and collation for MySQL/MariaDB.
  • Constructor Details

    • JpaUpdate26_5_0_OrgTablesSetDefaultCharsetAndCollation

      public JpaUpdate26_5_0_OrgTablesSetDefaultCharsetAndCollation()
  • Method Details

    • isApplicable

      protected boolean isApplicable() throws liquibase.exception.CustomChangeException
      Overrides:
      isApplicable in class CustomKeycloakTask
      Throws:
      liquibase.exception.CustomChangeException
    • generateStatementsImpl

      protected void generateStatementsImpl() throws liquibase.exception.CustomChangeException
      Description copied from class: CustomKeycloakTask
      It's supposed to fill SQL statements to the "statements" variable and fill "confirmationMessage"
      Specified by:
      generateStatementsImpl in class CustomKeycloakTask
      Throws:
      liquibase.exception.CustomChangeException
    • getTaskId

      protected String getTaskId()
      Specified by:
      getTaskId in class CustomKeycloakTask