Modified by www.SourceFiles.app

This commit is contained in:
2026-08-07 12:51:19 +00:00
parent 797935049b
commit 3a6828e964
@@ -0,0 +1,12 @@
-- Attendance state expansion — spec section 16.
--
-- The visual state system needs vacation as a first-class state alongside
-- present / absent / late / excused. "Not yet marked" is the absence of a row,
-- so it needs no enum member.
--
-- Enum values cannot be used in the transaction that adds them, and the
-- Supabase CLI wraps each file in one transaction, so this file adds values and
-- nothing else. 20260807001300 is where they are used.
ALTER TYPE public.attendance_status ADD VALUE IF NOT EXISTS 'vacation';
ALTER TYPE public.attendance_status ADD VALUE IF NOT EXISTS 'holiday';