0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Fix unexpected exception on task-gc

Because table was renamed but the sql on the task function
still uses the old name.
This commit is contained in:
Andrey Antukh 2024-02-12 10:03:11 +01:00
parent b9b66aee85
commit 4cd9237f47

View file

@ -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]))