From 8db4b6cdea36963909946b4d355525a73c8168f6 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Thu, 19 Mar 2026 11:06:59 +0800 Subject: [PATCH] fix(chunk): update timestamp function in UpdateChunks method to use NOW() for consistency --- internal/application/repository/chunk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/application/repository/chunk.go b/internal/application/repository/chunk.go index 7e2a9b51..b2f3eb6a 100644 --- a/internal/application/repository/chunk.go +++ b/internal/application/repository/chunk.go @@ -378,7 +378,7 @@ func (r *chunkRepository) UpdateChunks(ctx context.Context, chunks []*types.Chun tag_id = CASE %s END, flags = CASE %s END, status = CASE %s END, - updated_at = datetime('now') + updated_at = NOW() WHERE id IN (%s) `, strings.Join(contentCases, " "),