You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE TABLE public.entity(start_time time(6) WITHOUT TIME ZONE);
However, when making any subsequent change completely unrelated to the original Entity:
@EntitypublicclassEntityTwo {
privateStringfoo;
}
Causes this diff:
CREATETABLEpublic.entity_two(foo VARCHAR(255);
ALTERTABLEpublic.entity ALTER COLUMN startTime TYPE time WITHOUT TIME ZONE USING (startTime::time WITHOUT TIME ZONE);
Any subsequent diff always contains this alter table statement, even if there is no diff:
ALTERTABLEpublic.entity ALTER COLUMN startTime TYPE time WITHOUT TIME ZONE USING (startTime::time WITHOUT TIME ZONE);
When running the underlying liquibase diff, we can see:
[2024-02-29 10:40:45] INFO [liquibase.ext] Found column start_time time(6)
HIBERNATE.opening_hours.start_time
certainDataType changed from 'false' to 'null'
order changed from 'null' to '3'
type changed from 'time(6)' to 'time(15, 6)'
It seems that this type needs to be handled the same as TIMESTAMP.
The text was updated successfully, but these errors were encountered:
With Spring boot 3.2.2 and when working with an entity like this
The creation works as expected:
However, when making any subsequent change completely unrelated to the original Entity:
Causes this diff:
Any subsequent diff always contains this alter table statement, even if there is no diff:
When running the underlying liquibase diff, we can see:
It seems that this type needs to be handled the same as TIMESTAMP.
The text was updated successfully, but these errors were encountered: