Class BigSerialDataType
java.lang.Object
liquibase.datatype.LiquibaseDataType
liquibase.datatype.core.BigIntType
ch.tocco.nice2.dbrefactoring.impl.liquibase.datatype.BigSerialDataType
- All Implemented Interfaces:
liquibase.servicelocator.PrioritizedService
public class BigSerialDataType
extends liquibase.datatype.core.BigIntType
Override the default type for 'bigserial'.
This is necessary due to this change: https://github.com/liquibase/liquibase/commit/b0564c9f7e8b7c95340f5a6dee5a919254007efc
Otherwise liquibase just creates a 'bigint' without auto-increment.
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionliquibase.datatype.DatabaseDataType
toDatabaseDataType
(liquibase.database.Database database) Methods inherited from class liquibase.datatype.core.BigIntType
finishInitialization, getLoadTypeName, isAutoIncrement, objectToSql, setAutoIncrement
Methods inherited from class liquibase.datatype.LiquibaseDataType
addParameter, equals, formatNumber, functionToSql, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, getRawDefinition, hashCode, isCurrentDateTimeFunction, numberToSql, otherToSql, setAdditionalInformation, sqlToObject, supports, toString, validate
-
Constructor Details
-
BigSerialDataType
public BigSerialDataType()
-
-
Method Details
-
toDatabaseDataType
public liquibase.datatype.DatabaseDataType toDatabaseDataType(liquibase.database.Database database) - Overrides:
toDatabaseDataType
in classliquibase.datatype.core.BigIntType
-