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, " "),