Skip to content

Commit

Permalink
Provide better MySQL datatype for DateTimeType
Browse files Browse the repository at this point in the history
Resolves #15697

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
  • Loading branch information
jlaur committed Apr 2, 2024
1 parent 4927615 commit c08c8db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void initAfterFirstDbConnection() {
this.dbMeta = dbMeta;
// Initialize sqlTypes, depending on DB version for example
if (dbMeta.isDbVersionGreater(5, 5)) {
sqlTypes.put("DATETIMEITEM", "TIMESTAMP(3)");
sqlTypes.put("DATETIMEITEM", "DATETIME");
sqlTypes.put("tablePrimaryKey", "TIMESTAMP(3)");
sqlTypes.put("tablePrimaryValue", "NOW(3)");
}
Expand Down

0 comments on commit c08c8db

Please sign in to comment.