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
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "INSERT INTO community_voting_methods (community_id, voting_method_id, is_enabled, is_default, config)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (community_id, voting_method_id) DO UPDATE SET\n is_enabled = COALESCE($3, community_voting_methods.is_enabled),\n is_default = COALESCE($4, community_voting_methods.is_default),\n config = COALESCE($5, community_voting_methods.config),\n updated_at = NOW()\n RETURNING id, is_enabled, is_default, config",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "is_enabled",
|
|
"type_info": "Bool"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "is_default",
|
|
"type_info": "Bool"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "config",
|
|
"type_info": "Jsonb"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Uuid",
|
|
"Bool",
|
|
"Bool",
|
|
"Jsonb"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
true
|
|
]
|
|
},
|
|
"hash": "2a7e168921469392cdde35401ab602fdb281f995ad75050af27a4130c311a920"
|
|
}
|