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

46 lines
1.3 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "\n SELECT v.created_at as voted_at, po.label as option_label,\n p.id as proposal_id, p.title as proposal_title,\n c.name as community_name\n FROM votes v\n JOIN voting_identities vi ON v.voter_id = vi.id\n JOIN proposal_options po ON v.option_id = po.id\n JOIN proposals p ON po.proposal_id = p.id\n JOIN communities c ON p.community_id = c.id\n WHERE vi.user_id = $1\n ORDER BY v.created_at DESC\n LIMIT 20\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "voted_at",
"type_info": "Timestamptz"
},
{
"ordinal": 1,
"name": "option_label",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "proposal_id",
"type_info": "Uuid"
},
{
"ordinal": 3,
"name": "proposal_title",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "community_name",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
false,
false,
false,
false
]
},
"hash": "174c2a9d861710b570536d1350b4e70b13a9290b222eb89ce753a5702de63f0a"
}