From 6b56628dd8e49a69eb2eefab1521a9f8830db422 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 02:04:18 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/integrations/supabase/types.ts | 3 +++ .../20260418020415_625732b5-4919-4c8d-8606-c0a8676544fa.sql | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 supabase/migrations/20260418020415_625732b5-4919-4c8d-8606-c0a8676544fa.sql 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