-- 2026-05: add 'live' to asset_status for growing-file ingest
DO $$
BEGIN
  IF NOT EXISTS (SELECT 1 FROM pg_enum WHERE enumlabel = 'live' AND enumtypid = 'asset_status'::regtype) THEN
    ALTER TYPE asset_status ADD VALUE 'live' BEFORE 'ingesting';
  END IF;
END $$;
