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

mmlid: Add migration to convert timestamp to timestamptz #1644

Closed
dirkmc opened this issue Aug 24, 2023 · 0 comments
Closed

mmlid: Add migration to convert timestamp to timestamptz #1644

dirkmc opened this issue Aug 24, 2023 · 0 comments
Assignees

Comments

@dirkmc
Copy link
Contributor

dirkmc commented Aug 24, 2023

I noticed that in postgres we are using the TIMESTAMP type.
We should instead be using TIMESTAMPTZ to account for time zone differences.

We should add a migration to convert from TIMESTAMP to TIMESTAMPTZ type.
It's not necessary to convert existing rows to the correct timezone because they will over-written the next time the piece doctor gets to that piece (usually within 24 hours).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant