Skip to content
Permalink
Browse files

0003107: Create table statement syntax error for tinyblob field

  • Loading branch information...
philipmarzullo
philipmarzullo committed Jan 21, 2019
1 parent 209b26d commit 4d734dbda3659146a2c25a8a69dd4762b3eb39dc
Showing with 4 additions and 0 deletions.
  1. +4 −0 symmetric-db/src/main/java/org/jumpmind/db/platform/mysql/MySqlDdlBuilder.java
@@ -358,6 +358,10 @@ protected String getSqlType(Column column) {
}
}
}
if("TINYBLOB".equalsIgnoreCase(column.getJdbcTypeName())) {
// For some reason, MySql driver returns BINARY type for TINYBLOB instead of BLOB type
sqlType = "TINYBLOB";
}
return sqlType;
}

0 comments on commit 4d734db

Please sign in to comment.
You can’t perform that action at this time.