-- Extend leave categories for admin-granted special leave (no quota).
-- Run once in Supabase SQL editor.

ALTER TABLE public.leave_applications
  DROP CONSTRAINT IF EXISTS leave_applications_category_check;

ALTER TABLE public.leave_applications
  ADD CONSTRAINT leave_applications_category_check
  CHECK (leave_category IN ('sick', 'casual', 'child_birth', 'wedding'));
