Skip to content

Commit 774c4b0

Browse files
committed
fix
1 parent 3b60a27 commit 774c4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/queries/notifications.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ WHERE
188188
-- Insert or update report generator logs with recent activity.
189189
INSERT INTO report_generator_logs (user_id, notification_template_id, last_generated_at) VALUES (@user_id, @notification_template_id, @last_generated_at)
190190
ON CONFLICT (user_id, notification_template_id) DO UPDATE set last_generated_at = EXCLUDED.last_generated_at
191-
WHERE report_generator_logs.user_id = EXCLUDED.user_id AND report_generator_logs.notification_template_id = EXCLUDED.notification_template_id);
191+
WHERE report_generator_logs.user_id = EXCLUDED.user_id AND report_generator_logs.notification_template_id = EXCLUDED.notification_template_id;
192192

193193
-- name: DeleteOldReportGeneratorLogs :exec
194194
-- Delete report generator logs that have been created at least a <frequency_days> +1h ago.

0 commit comments

Comments
 (0)