mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 00:46:45 +01:00
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"
|
||
|
}
|