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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    liquibase.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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BigSerialDataType

      public BigSerialDataType()
  • Method Details

    • toDatabaseDataType

      public liquibase.datatype.DatabaseDataType toDatabaseDataType(liquibase.database.Database database)
      Overrides:
      toDatabaseDataType in class liquibase.datatype.core.BigIntType