mirror of
https://github.com/penpot/penpot.git
synced 2026-02-16 00:22:55 +00: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:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user