diff --git a/src/integrations/supabase/types.ts b/src/integrations/supabase/types.ts index 1f19e6e..7d2b0f3 100644 --- a/src/integrations/supabase/types.ts +++ b/src/integrations/supabase/types.ts @@ -742,7 +742,7 @@ export type Database = { created_at: string created_by: string | null current_stage: string | null - homeowner_id: string + homeowner_id: string | null id: string interest_rate_override: number | null name: string | null @@ -757,7 +757,7 @@ export type Database = { created_at?: string created_by?: string | null current_stage?: string | null - homeowner_id: string + homeowner_id?: string | null id?: string interest_rate_override?: number | null name?: string | null @@ -772,7 +772,7 @@ export type Database = { created_at?: string created_by?: string | null current_stage?: string | null - homeowner_id?: string + homeowner_id?: string | null id?: string interest_rate_override?: number | null name?: string | null diff --git a/supabase/migrations/20260418073324_19f5b5c4-1eba-4b5a-8422-6e0323ca8437.sql b/supabase/migrations/20260418073324_19f5b5c4-1eba-4b5a-8422-6e0323ca8437.sql new file mode 100644 index 0000000..0666283 --- /dev/null +++ b/supabase/migrations/20260418073324_19f5b5c4-1eba-4b5a-8422-6e0323ca8437.sql @@ -0,0 +1 @@ +ALTER TABLE public.collections ALTER COLUMN homeowner_id DROP NOT NULL; \ No newline at end of file