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

14 lines
640 B
JSON

{
"db_name": "PostgreSQL",
"query": "UPDATE phase_instances pi\n SET participant_count = (\n SELECT COUNT(DISTINCT user_id) \n FROM phase_participation \n WHERE phase_instance_id = pi.id\n )\n FROM workflow_instances wi\n WHERE wi.id = pi.workflow_instance_id \n AND wi.proposal_id = $1 \n AND pi.status = 'active'",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": []
},
"hash": "95f70efea97448688250d1647387c7d3dc1e4eec0dc2e6ba88f09e9746132d09"
}