72 lines
1.5 KiB
JSON
72 lines
1.5 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "INSERT INTO task_attempt_activities (id, task_attempt_id, status, note) \n VALUES ($1, $2, $3, $4) \n RETURNING id, task_attempt_id, status as \"status!: TaskAttemptStatus\", note, created_at",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "task_attempt_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "status!: TaskAttemptStatus",
|
|
"type_info": {
|
|
"Custom": {
|
|
"name": "task_attempt_status",
|
|
"kind": {
|
|
"Enum": [
|
|
"init",
|
|
"inprogress",
|
|
"paused"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "note",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "created_at",
|
|
"type_info": "Timestamptz"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Uuid",
|
|
{
|
|
"Custom": {
|
|
"name": "task_attempt_status",
|
|
"kind": {
|
|
"Enum": [
|
|
"init",
|
|
"inprogress",
|
|
"paused"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"Text"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
false
|
|
]
|
|
},
|
|
"hash": "d2574d14252ead485e5db4e0eb84afa2fa3e12422f4e6ef6d623b768316e5ef4"
|
|
}
|