Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMESTAMP columns should use "timestamp with time zone", not "timestamp" (without time zone) #94

Closed
e-gineer opened this issue Aug 31, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@e-gineer
Copy link
Contributor

We're currently setting TIMESTAMP columns to use timestamp:

return "timestamp", nil

But, that means we are ignoring timezone information. We should instead be using timestamp with time zone.

Details - https://medium.com/building-the-system/how-to-store-dates-and-times-in-postgresql-269bda8d6403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants