likwid/backend/.sqlx/query-865245efea368b2c0b937356889a07b9a04954165e700f4c7c35687c13f2be27.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

71 lines
1.6 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT \n total_violations, confirmed_violations, dismissed_violations,\n total_sanctions, active_sanctions, warnings_count,\n current_escalation_level, last_violation_at, is_in_good_standing\n FROM user_violation_summary\n WHERE user_id = $1 AND community_id = $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "total_violations",
"type_info": "Int4"
},
{
"ordinal": 1,
"name": "confirmed_violations",
"type_info": "Int4"
},
{
"ordinal": 2,
"name": "dismissed_violations",
"type_info": "Int4"
},
{
"ordinal": 3,
"name": "total_sanctions",
"type_info": "Int4"
},
{
"ordinal": 4,
"name": "active_sanctions",
"type_info": "Int4"
},
{
"ordinal": 5,
"name": "warnings_count",
"type_info": "Int4"
},
{
"ordinal": 6,
"name": "current_escalation_level",
"type_info": "Int4"
},
{
"ordinal": 7,
"name": "last_violation_at",
"type_info": "Timestamptz"
},
{
"ordinal": 8,
"name": "is_in_good_standing",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
true,
false
]
},
"hash": "865245efea368b2c0b937356889a07b9a04954165e700f4c7c35687c13f2be27"
}