mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -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:
parent
b9b66aee85
commit
4cd9237f47
1 changed files with 1 additions and 2 deletions
|
@ -16,8 +16,7 @@
|
||||||
|
|
||||||
(def ^:private
|
(def ^:private
|
||||||
sql:delete-completed-tasks
|
sql:delete-completed-tasks
|
||||||
"delete from task_completed
|
"DELETE FROM task WHERE scheduled_at < now() - ?::interval")
|
||||||
where scheduled_at < now() - ?::interval")
|
|
||||||
|
|
||||||
(defmethod ig/pre-init-spec ::handler [_]
|
(defmethod ig/pre-init-spec ::handler [_]
|
||||||
(s/keys :req [::db/pool]))
|
(s/keys :req [::db/pool]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue