DO $$ BEGIN
  IF NOT EXISTS (
    SELECT 1 FROM pg_enum
    WHERE enumlabel = 'ncaam_bracket'
      AND enumtypid = (SELECT oid FROM pg_type WHERE typname = 'simulator_type')
  ) THEN
    ALTER TYPE "public"."simulator_type" ADD VALUE 'ncaam_bracket';
  END IF;
END $$;
