mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 13:33: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
14 lines
902 B
JSON
14 lines
902 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "UPDATE phase_instances\n SET quorum_reached = (\n SELECT is_met FROM quorum_snapshots \n WHERE phase_instance_id = $1 \n ORDER BY snapshot_time DESC LIMIT 1\n ),\n quorum_reached_at = CASE \n WHEN quorum_reached = false AND (\n SELECT is_met FROM quorum_snapshots \n WHERE phase_instance_id = $1 \n ORDER BY snapshot_time DESC LIMIT 1\n ) THEN NOW()\n ELSE quorum_reached_at\n END\n WHERE id = $1",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "facfb30591b5abfa384d897e0de7c5d0f0e9f80cf8c6e57a1c5298ad1a990351"
|
|
}
|