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
40 lines
1,008 B
JSON
40 lines
1,008 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT \n v.id, v.proposal_id,\n encode(sha256(v.voter_id::text::bytea), 'hex') AS voter_hash,\n v.created_at\n FROM votes v\n JOIN proposals p ON p.id = v.proposal_id\n WHERE p.community_id = $1\n ORDER BY v.created_at DESC",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "proposal_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "voter_hash",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "created_at",
|
|
"type_info": "Timestamptz"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
null,
|
|
false
|
|
]
|
|
},
|
|
"hash": "9e78a21e3bae2928e4ce353423030c59deb97bdbf242e8d4b8e2af11d65596f1"
|
|
}
|