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:
parent
b9b66aee85
commit
4cd9237f47
1 changed files with 1 additions and 2 deletions
|
@ -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]))
|
||||
|
|
Loading…
Add table
Reference in a new issue