eugene-manuilov/typeorm-uml

Postgres' "timestamptz" should be recognized as "TIMESTAMP WITH TIMEZONE"

leonidasv opened this issue · 2 comments

Fields using timestamptz are being translated to TIMESTAMP WITHOUT TIMEZONE. However, timestamptz is an abbreviation for TIMESTAMP WITH TIMEZONE: https://www.postgresql.org/docs/current/datatype-datetime.html

chrome_HXUbIsmkww

Hm... that's weird because columns types are translated by the typeorm itself... @leonidasv, can you show me your typeorm config and the Wallet entity?

@eugene-manuilov My fault, those fields weren't using "timestamptz", but "timestamp". Changing them to actually use timestamptz made everything work as intended.