diff --git a/src/integrations/supabase/types.ts b/src/integrations/supabase/types.ts index 2d612e2..fd008f6 100644 --- a/src/integrations/supabase/types.ts +++ b/src/integrations/supabase/types.ts @@ -808,7 +808,7 @@ export type Database = { | "closed_won" | "closed_lost" | "closed" - client_type: "hoa" | "individual" | "business" + client_type: "hoa" | "individual" | "business" | "condo" invoice_status: "draft" | "sent" | "paid" | "overdue" | "void" } CompositeTypes: { @@ -946,7 +946,7 @@ export const Constants = { "closed_lost", "closed", ], - client_type: ["hoa", "individual", "business"], + client_type: ["hoa", "individual", "business", "condo"], invoice_status: ["draft", "sent", "paid", "overdue", "void"], }, }, diff --git a/supabase/migrations/20260417005650_5b36b216-3458-4ecb-adaf-606b27333bac.sql b/supabase/migrations/20260417005650_5b36b216-3458-4ecb-adaf-606b27333bac.sql new file mode 100644 index 0000000..dd829de --- /dev/null +++ b/supabase/migrations/20260417005650_5b36b216-3458-4ecb-adaf-606b27333bac.sql @@ -0,0 +1 @@ +ALTER TYPE public.client_type ADD VALUE IF NOT EXISTS 'condo'; \ No newline at end of file