mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23:09 +00:00
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"db_name": "PostgreSQL",
|
||
|
|
"query": "UPDATE delegations \n SET is_active = FALSE, revoked_at = NOW()\n WHERE id = $1 AND delegator_id = $2 AND is_active = TRUE\n RETURNING delegate_id, scope as \"scope: DelegationScope\", community_id, topic_id, proposal_id",
|
||
|
|
"describe": {
|
||
|
|
"columns": [
|
||
|
|
{
|
||
|
|
"ordinal": 0,
|
||
|
|
"name": "delegate_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 1,
|
||
|
|
"name": "scope: DelegationScope",
|
||
|
|
"type_info": {
|
||
|
|
"Custom": {
|
||
|
|
"name": "delegation_scope",
|
||
|
|
"kind": {
|
||
|
|
"Enum": [
|
||
|
|
"global",
|
||
|
|
"community",
|
||
|
|
"topic",
|
||
|
|
"proposal"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 2,
|
||
|
|
"name": "community_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 3,
|
||
|
|
"name": "topic_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 4,
|
||
|
|
"name": "proposal_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"parameters": {
|
||
|
|
"Left": [
|
||
|
|
"Uuid",
|
||
|
|
"Uuid"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"nullable": [
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
true,
|
||
|
|
true,
|
||
|
|
true
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"hash": "e078bd7e0e60f80321173ea5383e3c89f5b07036b7f6c3be6a66e25dd64d8790"
|
||
|
|
}
|