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
22 lines
646 B
JSON
22 lines
646 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT r.name\n FROM user_roles ur\n JOIN roles r ON r.id = ur.role_id\n WHERE ur.user_id = $1\n ORDER BY CASE r.name\n WHEN 'platform_admin' THEN 1\n WHEN 'platform_moderator' THEN 2\n ELSE 3\n END\n LIMIT 1",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "name",
|
|
"type_info": "Varchar"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "cde649035ebc12f0bbce749e9a5347b8073659b42c9e65a4ac74400b17dc38f7"
|
|
}
|