I tried with liquibase to set the default value of my column to null with liquibase "addDefaultValue" syntax:
<changeSet id="20181213171501-2">
<!-- Add default value -->
<addDefaultValue tableName="myTable"
columnDataType="boolean"
columnName="myColumn"
defaultValueBoolean="null" />
</changeSet>
But inserting a new row to myTable showed that the default value was still set to 'false', as before. So liquibase changeset didn't work.
How to set a column default value to null with liquibase?
defaultValueBoolean="null"
resulted inliquibase.exception.ValidationFailedException: Validation Failed: defaultValue is required, Default value of null does not match defined type of boolean
even if the column is nullable – RotS