-- Migration: Background jobs — add 'bulk_zoom_registration' job type
-- Description: Bulk-registering confirmed program registrants to their backing
--              Zoom meeting/webinar runs as a tracked background job, reusing the
--              existing background_jobs table. The job `type` column is the
--              Postgres enum public.job_type_enum, so the new value must be added
--              before any such job is created.
-- NOTE: ALTER TYPE ... ADD VALUE cannot run inside a transaction block; run this
--       migration on its own (no surrounding BEGIN/COMMIT).
-- Idempotent — safe to re-run.

ALTER TYPE public.job_type_enum ADD VALUE IF NOT EXISTS 'bulk_zoom_registration';
