From 419095ab62d8dcafebe8c3e3c5199ed3609936dd Mon Sep 17 00:00:00 2001 From: Mostafa Alsari Date: Fri, 1 Mar 2024 12:13:34 +0000 Subject: [PATCH] Fixes #663: Bug on diff, TIME needs to be handled same as TIMESTAMP (#664) --- .../ext/hibernate/diff/ChangedColumnChangeGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/liquibase/ext/hibernate/diff/ChangedColumnChangeGenerator.java b/src/main/java/liquibase/ext/hibernate/diff/ChangedColumnChangeGenerator.java index dffc5f3c..eb9b872c 100644 --- a/src/main/java/liquibase/ext/hibernate/diff/ChangedColumnChangeGenerator.java +++ b/src/main/java/liquibase/ext/hibernate/diff/ChangedColumnChangeGenerator.java @@ -19,7 +19,7 @@ */ public class ChangedColumnChangeGenerator extends liquibase.diff.output.changelog.core.ChangedColumnChangeGenerator { - private static final List TYPES_TO_IGNORE_SIZE = List.of("TIMESTAMP"); + private static final List TYPES_TO_IGNORE_SIZE = List.of("TIMESTAMP", "TIME"); @Override public int getPriority(Class objectType, Database database) {