diff --git a/src/integrations/supabase/types.ts b/src/integrations/supabase/types.ts index 100e462..10a7930 100644 --- a/src/integrations/supabase/types.ts +++ b/src/integrations/supabase/types.ts @@ -2595,7 +2595,7 @@ export type Database = { } } Enums: { - app_role: "admin" | "attorney" | "staff" + app_role: "admin" | "attorney" | "staff" | "paralegal" | "legal_clerk" case_status: | "intake" | "active" @@ -2745,7 +2745,7 @@ export type CompositeTypes< export const Constants = { public: { Enums: { - app_role: ["admin", "attorney", "staff"], + app_role: ["admin", "attorney", "staff", "paralegal", "legal_clerk"], case_status: [ "intake", "active", diff --git a/supabase/migrations/20260418011922_232c2125-6e97-45d3-b46f-16b0897c7a85.sql b/supabase/migrations/20260418011922_232c2125-6e97-45d3-b46f-16b0897c7a85.sql new file mode 100644 index 0000000..ec2e13a --- /dev/null +++ b/supabase/migrations/20260418011922_232c2125-6e97-45d3-b46f-16b0897c7a85.sql @@ -0,0 +1,2 @@ +ALTER TYPE public.app_role ADD VALUE IF NOT EXISTS 'paralegal'; +ALTER TYPE public.app_role ADD VALUE IF NOT EXISTS 'legal_clerk'; \ No newline at end of file