diff --git a/src/integrations/supabase/types.ts b/src/integrations/supabase/types.ts index 78fdb4c..e20ce44 100644 --- a/src/integrations/supabase/types.ts +++ b/src/integrations/supabase/types.ts @@ -955,6 +955,7 @@ export type Database = { created_at: string created_by: string | null description: string | null + fields: Json font_family: string font_size_pt: number hide_title: boolean @@ -969,6 +970,7 @@ export type Database = { created_at?: string created_by?: string | null description?: string | null + fields?: Json font_family?: string font_size_pt?: number hide_title?: boolean @@ -983,6 +985,7 @@ export type Database = { created_at?: string created_by?: string | null description?: string | null + fields?: Json font_family?: string font_size_pt?: number hide_title?: boolean diff --git a/supabase/migrations/20260418020415_625732b5-4919-4c8d-8606-c0a8676544fa.sql b/supabase/migrations/20260418020415_625732b5-4919-4c8d-8606-c0a8676544fa.sql new file mode 100644 index 0000000..818b251 --- /dev/null +++ b/supabase/migrations/20260418020415_625732b5-4919-4c8d-8606-c0a8676544fa.sql @@ -0,0 +1,2 @@ +ALTER TABLE public.custom_form_templates + ADD COLUMN IF NOT EXISTS fields jsonb NOT NULL DEFAULT '[]'::jsonb; \ No newline at end of file