mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-05 01:27:39 +01:00
Found during P1 E2E testing of the paid-workshop flow. The paid-registration path and the payment webhook read/increment `workshop_instances.current_participants` for capacity checks, but that column was created by the legacy cms-api migration system and is NOT in any scripts/db/migrations/ file — so a migration-built DB (including prod) can lack it, which would 500 the paid-registration INSERT the moment Payrexx goes live. (The dev DB was indeed missing it.) Idempotent: ADD COLUMN IF NOT EXISTS + backfill from confirmed registrations. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>