Fixed
Details
Reporter
Uwe FrickeUwe FrickeComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Reporter
Uwe Fricke
Uwe FrickeComponents
Fix versions
Affects versions
Priority
Created September 1, 2009 at 8:50 AM
Updated December 27, 2017 at 2:46 PM
Resolved May 29, 2014 at 2:22 PM
Generating an initial changelog.xml from an existing database with
— ./liquibase --changeLogFile=changelog.xml generateChangeLog
produces wrong datatypes for timestamps.
Postgres supports "TIMESTAMP WITH TIME ZONE", and "TIMESTAMP WITHOUT TIME ZONE". Throughout our database, we use only "TIMESTAMP WITHOUT TIMEZONE". Liquibase messes this up, and seems to know only "TIMESTAMP WITH TIME ZONE".
Example faulty changeset, the timestamps should be WITHOUT time zone: