feat(sync): fix exam sync pagination, add AGL/AT20-Theorie lehrgang variants with yellow checkmark

This commit is contained in:
Matthias Hochmeister
2026-04-19 19:28:22 +02:00
parent ed3ee143dd
commit d796fae978
7 changed files with 72 additions and 21 deletions

View File

@@ -0,0 +1,8 @@
-- Migration: 097_add_lehrgang_theorie_only
-- Adds a flag to distinguish theory-only AT20 completion from full lehrgang.
-- AT20 "mit Erfolg Theorie" = theory passed but not equipment-eligible.
ALTER TABLE atemschutz_traeger
ADD COLUMN IF NOT EXISTS lehrgang_theorie_only BOOLEAN DEFAULT FALSE;
-- The atemschutz_uebersicht view uses at.* so it picks up the new column automatically.