From a1df61edaa88bbad0503739a2efaaf43b52f41cb Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Tue, 10 Mar 2026 00:41:08 +0100 Subject: [PATCH] Update supabase schema --- common/src/supabase/schema.ts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/common/src/supabase/schema.ts b/common/src/supabase/schema.ts index f1377798..8638207c 100644 --- a/common/src/supabase/schema.ts +++ b/common/src/supabase/schema.ts @@ -179,40 +179,40 @@ export type Database = { } compatibility_prompts: { Row: { + answer_count: number | null answer_type: string category: string | null + community_importance_score: number | null created_time: string creator_id: string | null id: number importance_score: number multiple_choice_options: Json | null question: string - community_importance_score: number - answer_count: number } Insert: { + answer_count?: number | null answer_type?: string category?: string | null + community_importance_score?: number | null created_time?: string creator_id?: string | null id?: number importance_score?: number multiple_choice_options?: Json | null question: string - community_importance_score?: number - answer_count?: number } Update: { + answer_count?: number | null answer_type?: string category?: string | null + community_importance_score?: number | null created_time?: string creator_id?: string | null id?: number importance_score?: number multiple_choice_options?: Json | null question?: string - community_importance_score?: number - answer_count?: number } Relationships: [ { @@ -1758,6 +1758,10 @@ export type Database = { show_limit: {Args: never; Returns: number} show_trgm: {Args: {'': string}; Returns: string[]} to_jsonb: {Args: {'': Json}; Returns: Json} + update_compatibility_prompt_community_importance_score: { + Args: {p_question_id: number} + Returns: undefined + } } Enums: { lover_visibility: 'public' | 'member'