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

use epoch for wf started column in MySQL backend #72

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

jessepeterson
Copy link
Member

Store the workflow-started value as a MySQL BIGINT column containing the Unix epoch seconds instead of a TIMESTAMP column. This fixes a problem with timezones as described in detail in #71. This is an alternative to all the CONVERT_TZ() nonsense in that PR at the expense of schema changes.

@jessepeterson jessepeterson merged commit 070b966 into micromdm:main Oct 31, 2024
9 checks passed
@jessepeterson jessepeterson deleted the mysql-wf-timestamp-bigint branch November 1, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant