likwid/backend/.sqlx/query-e25c2c4e795fd113fbf9631b4fc107d217f2dd0a8eacd812067defe8d3529d54.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

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"
}