diff --git a/api/src/main/java/liquibase/ext/datatype/core/MySQLBooleanType.java b/api/src/main/java/liquibase/ext/datatype/core/MySQLBooleanType.java index 3d72e737b4ce..6d3db933e31c 100644 --- a/api/src/main/java/liquibase/ext/datatype/core/MySQLBooleanType.java +++ b/api/src/main/java/liquibase/ext/datatype/core/MySQLBooleanType.java @@ -30,6 +30,9 @@ public class MySQLBooleanType extends BooleanType { @Override public DatabaseDataType toDatabaseDataType(Database database) { + if (database == null) { + return super.toDatabaseDataType(database); + } if (database instanceof MySQLDatabase) { DatabaseDataType result = new DatabaseDataType("TINYINT", 1);