mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23:09 +00:00
- 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
40 lines
932 B
JSON
40 lines
932 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT o.id, o.label, o.description, COUNT(v.id) as vote_count\n FROM proposal_options o\n LEFT JOIN votes v ON v.option_id = o.id\n WHERE o.proposal_id = $1\n GROUP BY o.id\n ORDER BY o.sort_order",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "label",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "description",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "vote_count",
|
|
"type_info": "Int8"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
true,
|
|
null
|
|
]
|
|
},
|
|
"hash": "e25c2c4e795fd113fbf9631b4fc107d217f2dd0a8eacd812067defe8d3529d54"
|
|
}
|