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

41 lines
1 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT r.id, r.name, r.display_name, r.color\n FROM roles r\n JOIN user_roles ur ON r.id = ur.role_id\n WHERE ur.user_id = $1 \n AND (ur.community_id = $2 OR ur.community_id IS NULL)\n AND (ur.expires_at IS NULL OR ur.expires_at > NOW())\n ORDER BY r.priority DESC",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "name",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "display_name",
"type_info": "Varchar"
},
{
"ordinal": 3,
"name": "color",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
false,
false,
false,
true
]
},
"hash": "f91db2c61f14281c7dfd6f6aefdffc97e080dd9acc5d9c5edd8a865623b44628"
}