Postgres' "timestamptz" should be recognized as "TIMESTAMP WITH TIMEZONE"
leonidasv opened this issue · 2 comments
leonidasv commented
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
eugene-manuilov commented
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?
leonidasv commented
@eugene-manuilov My fault, those fields weren't using "timestamptz"
, but "timestamp"
. Changing them to actually use timestamptz
made everything work as intended.