mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
9734a40c96
Co-authored-by: Brett Hoerner <brett@bretthoerner.com> Co-authored-by: Ben White <ben@posthog.com>
24 lines
766 B
JSON
24 lines
766 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "UPDATE cyclotron_jobs\n SET state = $1, last_transition = NOW(), transition_count = transition_count + 1\n WHERE id = $2 AND lock_id = $3",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
{
|
|
"Custom": {
|
|
"name": "jobstate",
|
|
"kind": {
|
|
"Enum": ["available", "completed", "failed", "running", "paused"]
|
|
}
|
|
}
|
|
},
|
|
"Uuid",
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "b3239c1dde9a88769ec488299612f7a3ad2b2ee57d8d2353c858299d7b6ffe13"
|
|
}
|