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
-
-
Constructor Summary
Constructors Constructor Description MySQL8VarcharType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPriority()
liquibase.datatype.DatabaseDataType
toDatabaseDataType(liquibase.database.Database database)
-
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
-
-
-
-
Method Detail
-
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
-
-