Skip to content

fix: evaluate created_at at todo insert time - #75

Open
marktapia-paragon wants to merge 1 commit into
docker:mainfrom
marktapia-paragon:fix/todo-created-at-timestamp
Open

fix: evaluate created_at at todo insert time#75
marktapia-paragon wants to merge 1 commit into
docker:mainfrom
marktapia-paragon:fix/todo-created-at-timestamp

Conversation

@marktapia-paragon

Copy link
Copy Markdown

Todos were getting a shared created_at from schema load time (Date.now()). Use Date.now so each todo gets its insert timestamp.

Date.now() was called when the schema loaded, so every todo shared the app-start timestamp.

Co-authored-by: Cursor <cursoragent@cursor.com>
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