likwid/backend/.sqlx/query-5d369c593b73b9c9835ef79206367824f5cc656cb8d93d3a4af3262c73cf88ad.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

70 lines
1.7 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT \n id, community_id, code, title, description,\n scope::text AS \"scope!\", severity::text AS \"severity!\",\n is_active, allow_community_vote\n FROM community_rules\n WHERE community_id = $1\n ORDER BY \n CASE severity \n WHEN 'critical' THEN 1 \n WHEN 'major' THEN 2 \n WHEN 'minor' THEN 3 \n ELSE 4 \n END",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "community_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "code",
"type_info": "Varchar"
},
{
"ordinal": 3,
"name": "title",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "description",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "scope!",
"type_info": "Text"
},
{
"ordinal": 6,
"name": "severity!",
"type_info": "Text"
},
{
"ordinal": 7,
"name": "is_active",
"type_info": "Bool"
},
{
"ordinal": 8,
"name": "allow_community_vote",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
false,
false,
false,
false,
null,
null,
false,
false
]
},
"hash": "5d369c593b73b9c9835ef79206367824f5cc656cb8d93d3a4af3262c73cf88ad"
}