Class MySQL8VarcharType
java.lang.Object
liquibase.datatype.LiquibaseDataType
liquibase.datatype.core.CharType
liquibase.datatype.core.VarcharType
org.keycloak.connections.jpa.updater.liquibase.MySQL8VarcharType
- All Implemented Interfaces:
liquibase.servicelocator.PrioritizedService
public class MySQL8VarcharType
extends liquibase.datatype.core.VarcharType
Changes VARCHAR type with size greater than 255 to text type for MySQL 8 and newer.
Resolves Limits on Table Column Count and Row Size for MySQL 8
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
liquibase.datatype.DatabaseDataType
toDatabaseDataType
(liquibase.database.Database database) Methods inherited from class liquibase.datatype.core.CharType
getLoadTypeName, getSize, objectToSql
Methods inherited from class liquibase.datatype.LiquibaseDataType
addParameter, equals, finishInitialization, formatNumber, functionToSql, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getRawDefinition, hashCode, isAutoIncrement, isCurrentDateTimeFunction, numberToSql, otherToSql, setAdditionalInformation, sqlToObject, supports, toString, validate
-
Constructor Details
-
MySQL8VarcharType
public MySQL8VarcharType()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceliquibase.servicelocator.PrioritizedService
- Overrides:
getPriority
in classliquibase.datatype.LiquibaseDataType
-
toDatabaseDataType
public liquibase.datatype.DatabaseDataType toDatabaseDataType(liquibase.database.Database database) - Overrides:
toDatabaseDataType
in classliquibase.datatype.core.VarcharType
-