diff --git a/backend/src/app/tasks/tasks_gc.clj b/backend/src/app/tasks/tasks_gc.clj index 69dd11dfd..77f1f92fa 100644 --- a/backend/src/app/tasks/tasks_gc.clj +++ b/backend/src/app/tasks/tasks_gc.clj @@ -16,8 +16,7 @@ (def ^:private sql:delete-completed-tasks - "delete from task_completed - where scheduled_at < now() - ?::interval") + "DELETE FROM task WHERE scheduled_at < now() - ?::interval") (defmethod ig/pre-init-spec ::handler [_] (s/keys :req [::db/pool]))