mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 21:13: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
84 lines
1.8 KiB
JSON
84 lines
1.8 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "UPDATE voting_method_plugins SET\n is_active = COALESCE($2, is_active),\n is_default = COALESCE($3, is_default),\n updated_at = NOW()\n WHERE id = $1\n RETURNING id, name, display_name, description, icon, is_active, is_default,\n config_schema, default_config, complexity_level, supports_delegation",
|
|
"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": "description",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "icon",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "is_active",
|
|
"type_info": "Bool"
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "is_default",
|
|
"type_info": "Bool"
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "config_schema",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "default_config",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "complexity_level",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "supports_delegation",
|
|
"type_info": "Bool"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Bool",
|
|
"Bool"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
false
|
|
]
|
|
},
|
|
"hash": "1cf0926848f8f1fc1f62337b344f06d86408f94450fe0ed80a44268657e92c06"
|
|
}
|