Fix version date not updating on re-upload #90

Merged
qwc merged 1 commit from fix/version-reupload-date into main 2026-03-05 08:54:31 +01:00
Owner

Summary

  • When re-uploading an existing version, created_at was not updated because the UPDATE query didn't include it
  • Set created_at = time.Now() in the handler before calling Update() and added the field to the SQL query

Closes #87

🤖 Generated with Claude Code

## Summary - When re-uploading an existing version, `created_at` was not updated because the `UPDATE` query didn't include it - Set `created_at = time.Now()` in the handler before calling `Update()` and added the field to the SQL query Closes #87 🤖 Generated with [Claude Code](https://claude.ai/claude-code)
Fix version date not updating on re-upload
All checks were successful
CI / test (pull_request) Successful in 1m0s
CI / build (pull_request) Successful in 46s
CI / docker (pull_request) Has been skipped
1e0246e842
When overwriting an existing version, set created_at to the current
time and include it in the UPDATE query so the version list reflects
the actual re-upload date.

Closes #87

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
qwc merged commit 82898a9e13 into main 2026-03-05 08:54:31 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
qwc-open/asiakirjat!90
No description provided.