You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-07-12 22:21:40 +02:00
restore queue on restart
This commit is contained in:
11
store/datastore/sql/postgres/files/tasks.sql
Normal file
11
store/datastore/sql/postgres/files/tasks.sql
Normal file
@ -0,0 +1,11 @@
|
||||
-- name: task-list
|
||||
|
||||
SELECT
|
||||
task_id
|
||||
,task_data
|
||||
,task_labels
|
||||
FROM tasks
|
||||
|
||||
-- name: task-delete
|
||||
|
||||
DELETE FROM tasks WHERE task_id = $1
|
Reference in New Issue
Block a user