fix(chunk): update timestamp function in UpdateChunks method to use NOW() for consistency

This commit is contained in:
wizardchen
2026-03-19 11:06:59 +08:00
committed by lyingbug
parent 4c3f083642
commit 8db4b6cdea
+1 -1
View File
@@ -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, " "),