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

65 lines
1.5 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT \n id, community_id, snapshot_date,\n total_members, active_members,\n votes_cast, unique_voters,\n engagement_score::float8 AS engagement_score\n FROM participation_snapshots\n WHERE community_id = $1\n AND snapshot_date > CURRENT_DATE - make_interval(days => $2)\n ORDER BY snapshot_date DESC",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "community_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "snapshot_date",
"type_info": "Date"
},
{
"ordinal": 3,
"name": "total_members",
"type_info": "Int4"
},
{
"ordinal": 4,
"name": "active_members",
"type_info": "Int4"
},
{
"ordinal": 5,
"name": "votes_cast",
"type_info": "Int4"
},
{
"ordinal": 6,
"name": "unique_voters",
"type_info": "Int4"
},
{
"ordinal": 7,
"name": "engagement_score",
"type_info": "Float8"
}
],
"parameters": {
"Left": [
"Uuid",
"Int4"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
null
]
},
"hash": "706d61211ccde2d45e1fc60480b37719f90ce364bf3a118743bfe82eca3783ae"
}