mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23:09 +00:00
108 lines
2.5 KiB
JSON
108 lines
2.5 KiB
JSON
|
|
{
|
||
|
|
"db_name": "PostgreSQL",
|
||
|
|
"query": "SELECT \n id,\n sequence_number,\n community_id,\n actor_user_id,\n actor_role,\n action_type::text AS \"action_type!\",\n target_type,\n target_id,\n reason,\n rule_reference,\n evidence,\n duration_hours,\n decision_type,\n entry_hash,\n created_at\n FROM moderation_ledger\n WHERE target_type = $1 AND target_id = $2\n ORDER BY sequence_number DESC",
|
||
|
|
"describe": {
|
||
|
|
"columns": [
|
||
|
|
{
|
||
|
|
"ordinal": 0,
|
||
|
|
"name": "id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 1,
|
||
|
|
"name": "sequence_number",
|
||
|
|
"type_info": "Int8"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 2,
|
||
|
|
"name": "community_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 3,
|
||
|
|
"name": "actor_user_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 4,
|
||
|
|
"name": "actor_role",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 5,
|
||
|
|
"name": "action_type!",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 6,
|
||
|
|
"name": "target_type",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 7,
|
||
|
|
"name": "target_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 8,
|
||
|
|
"name": "reason",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 9,
|
||
|
|
"name": "rule_reference",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 10,
|
||
|
|
"name": "evidence",
|
||
|
|
"type_info": "Jsonb"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 11,
|
||
|
|
"name": "duration_hours",
|
||
|
|
"type_info": "Int4"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 12,
|
||
|
|
"name": "decision_type",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 13,
|
||
|
|
"name": "entry_hash",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 14,
|
||
|
|
"name": "created_at",
|
||
|
|
"type_info": "Timestamptz"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"parameters": {
|
||
|
|
"Left": [
|
||
|
|
"Text",
|
||
|
|
"Uuid"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"nullable": [
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
true,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
null,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
true,
|
||
|
|
true,
|
||
|
|
true,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"hash": "91b64087ce497ce4426c00ccdd8cbfde639f18d24df8362c11a211a9acf2fc92"
|
||
|
|
}
|