Skip to content

Commit

Permalink
enable DB2 tests (DAT-16658) (#5469)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMassaro committed Feb 14, 2024
1 parent b8eae43 commit 39279c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ jobs:
fail-fast: false
matrix:
testSystem:
- db2
- h2
#- h2:1.4
- hsqldb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public DatabaseDataType toDatabaseDataType(Database database) {
return new DatabaseDataType("TEXT");
}
try {
if(database instanceof MariaDBDatabase && (database.getDatabaseMajorVersion() == 10 && database.getDatabaseMinorVersion() >= 7)
|| database.getDatabaseMajorVersion() >= 11) {
if(database instanceof MariaDBDatabase && ((database.getDatabaseMajorVersion() == 10 && database.getDatabaseMinorVersion() >= 7)
|| database.getDatabaseMajorVersion() >= 11)) {
return new DatabaseDataType("UUID");
}
} catch (DatabaseException e) {
Expand Down

0 comments on commit 39279c6

Please sign in to comment.