liquibase-core/src/main/java/liquibase/datatype/DatabaseDataType.java
public boolean isAutoIncrement() {
        return "serial".equals(type.toLowerCase(Locale.US)) || "bigserial".equals(type.toLowerCase(Locale.US)) || "smallserial"
            .equals(type.toLowerCase(Locale.US));
    }
public boolean isAutoIncrement() {
        return "serial".equals(type.toLowerCase(Locale.US)) || "bigserial".equals(type.toLowerCase(Locale.US)) || "smallserial"
            .equals(type.toLowerCase(Locale.US));
    }
public boolean isAutoIncrement ( ) { return "serial" . equals ( type . toLowerCase ( Locale . US ) ) || "bigserial" . equals ( type . toLowerCase ( Locale . US ) ) || "smallserial" . equals ( type . toLowerCase ( Locale . US ) ) ; }
Mainly for postgres, check if the column is a serial data type.
@return Whether the type is serial
Mainly for postgres check if the column is a serial data type .