likwid/backend/.sqlx/query-73e84e079e38064cbf573149243395913f6a14bbaceedeff7bf41fdcaf63f01c.json
Marco Allegretti 910a6465f2 Initial commit: Likwid governance platform
- Backend: Rust/Axum with PostgreSQL, plugin architecture
- Frontend: Astro with polished UI
- Voting methods: Approval, Ranked Choice, Schulze, STAR, Quadratic
- Features: Liquid delegation, transparent moderation, structured deliberation
- Documentation: User and admin guides in /docs
- Deployment: Docker/Podman compose files for production and demo
- Demo: Seeded data with 3 communities, 13 users, 7 proposals

License: AGPLv3
2026-01-27 17:21:58 +01:00

106 lines
2.4 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 id = $1",
"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": [
"Uuid"
]
},
"nullable": [
false,
false,
true,
false,
false,
null,
false,
false,
false,
true,
true,
true,
false,
false,
false
]
},
"hash": "73e84e079e38064cbf573149243395913f6a14bbaceedeff7bf41fdcaf63f01c"
}