mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 01:40:01 +00:00
183fe0a93c
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
10 lines
452 B
SQL
10 lines
452 B
SQL
|
|
-- Add staff and employee roles to the enum
|
|
ALTER TYPE public.app_role ADD VALUE IF NOT EXISTS 'staff';
|
|
ALTER TYPE public.app_role ADD VALUE IF NOT EXISTS 'employee';
|
|
|
|
-- Add is_blocked column to profiles for blocking access
|
|
ALTER TABLE public.profiles ADD COLUMN IF NOT EXISTS is_blocked boolean NOT NULL DEFAULT false;
|
|
ALTER TABLE public.profiles ADD COLUMN IF NOT EXISTS email text;
|
|
ALTER TABLE public.profiles ADD COLUMN IF NOT EXISTS phone text;
|