tasq/supabase/migrations/20260316080000_add_programmer_role_enum.sql

7 lines
264 B
SQL

-- Add `programmer` to the `user_role` enum.
--
-- This is used by the application for role-based access checks. It must be
-- committed before any other schema objects (e.g., RLS policies) reference it.
ALTER TYPE user_role ADD VALUE IF NOT EXISTS 'programmer';