Modified by www.SourceFiles.app
This commit is contained in:
@@ -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';
|
||||||
Reference in New Issue
Block a user