Skip to content

Commit

Permalink
set most_recent_evaluation timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
dmjb committed Jun 19, 2024
1 parent 2ded8b3 commit bd354c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion database/query/eval_history.sql
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ RETURNING id;

-- name: UpdateEvaluationTimes :exec
UPDATE evaluation_statuses
SET evaluation_times = $1
SET
evaluation_times = $1,
most_recent_evaluation = NOW()
WHERE id = $2;

-- name: UpsertLatestEvaluationStatus :exec
Expand Down

0 comments on commit bd354c2

Please sign in to comment.