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

Db models: use the same timestamp for ID and created_at. #355

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

tasn
Copy link
Member

@tasn tasn commented Mar 31, 2022

We want them to be the same because they actually hold the same
information. We show the created_at, but we use the ID for the sorting.

We should probably get rid of created_at down the line because it's
already encoded in the ID, but at least then, make sure they are
identical.

We want them to be the same because they actually hold the same
information. We show the created_at, but we use the ID for the sorting.

We should probably get rid of created_at down the line because it's
already encoded in the ID, but at least then, make sure they are
identical.
@tasn tasn merged commit d0e86c1 into main Mar 31, 2022
@tasn tasn deleted the tom/id-timestamp branch March 31, 2022 21:24
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.

2 participants