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
17 lines
990 B
JSON
17 lines
990 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "INSERT INTO deliberation_reading_log (proposal_id, user_id, first_read_at, reading_time_seconds)\n VALUES ($1, $2, NOW(), $3)\n ON CONFLICT (proposal_id, user_id) DO UPDATE SET\n read_proposal = CASE WHEN $4 = 'proposal' THEN true ELSE deliberation_reading_log.read_proposal END,\n read_summaries = CASE WHEN $4 = 'summaries' THEN true ELSE deliberation_reading_log.read_summaries END,\n read_top_arguments = CASE WHEN $4 = 'arguments' THEN true ELSE deliberation_reading_log.read_top_arguments END,\n reading_time_seconds = deliberation_reading_log.reading_time_seconds + $3,\n updated_at = NOW()",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Uuid",
|
|
"Int4",
|
|
"Text"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "0569967ce647a065b60b93a233bd222d7dc8aef1eeffec8796dae06968faf08d"
|
|
}
|