Closed RomainLanz closed 11 months ago
This is the difference between timestamp
and timestampz
in PostgreSQL for this article. https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-timestamp/
Are we facing any issues in using timestampz
by default?
The distinction between timestamp
and timestampz
in PostgreSQL lies in the display of timezone information. While timestampz
includes timezone data, it can be unnecessary and even counterproductive for those fields handled by the framework, especially considering AdonisJS defaults to UTC
.
After an internal discussion. We will end up dropping this PR to avoid a new breaking change for the next release of Lucid.
Hey there! 👋🏻
This PR removes the usage of
timestamptz
for the defaultcreated_at
andupdated_at
fields. It does not really make sense to use a "timezoned" date for those two fields.