Skip to content

Commit

Permalink
Merge pull request #966 from regrog/master
Browse files Browse the repository at this point in the history
fix DB2 LUW supports boolean data type
  • Loading branch information
molivasdat committed Dec 16, 2020
2 parents 1f6425c + 044425d commit bfabfdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public DatabaseDataType toDatabaseDataType(Database database) {
return new DatabaseDataType("BOOLEAN");
}

if ((database instanceof AbstractDb2Database) || (database instanceof FirebirdDatabase)) {
if ((database instanceof Db2zDatabase) || (database instanceof FirebirdDatabase)) {
return new DatabaseDataType("SMALLINT");
} else if (database instanceof MSSQLDatabase) {
return new DatabaseDataType(database.escapeDataTypeName("bit"));
Expand Down

0 comments on commit bfabfdf

Please sign in to comment.