diff --git a/supabase/database.types.ts b/supabase/database.types.ts index 5477c61a..d7772b5f 100644 --- a/supabase/database.types.ts +++ b/supabase/database.types.ts @@ -581,6 +581,7 @@ export type Database = { leaflets_in_publications: { Row: { archived: boolean | null + cover_image: string | null description: string doc: string | null leaflet: string @@ -589,6 +590,7 @@ export type Database = { } Insert: { archived?: boolean | null + cover_image?: string | null description?: string doc?: string | null leaflet: string @@ -597,6 +599,7 @@ export type Database = { } Update: { archived?: boolean | null + cover_image?: string | null description?: string doc?: string | null leaflet?: string @@ -629,6 +632,7 @@ export type Database = { } leaflets_to_documents: { Row: { + cover_image: string | null created_at: string description: string document: string @@ -636,6 +640,7 @@ export type Database = { title: string } Insert: { + cover_image?: string | null created_at?: string description?: string document: string @@ -643,6 +648,7 @@ export type Database = { title?: string } Update: { + cover_image?: string | null created_at?: string description?: string document?: string diff --git a/supabase/migrations/20251223000000_add_cover_image_column.sql b/supabase/migrations/20251223000000_add_cover_image_column.sql new file mode 100644 index 00000000..3597188e --- /dev/null +++ b/supabase/migrations/20251223000000_add_cover_image_column.sql @@ -0,0 +1,2 @@ +alter table "public"."leaflets_in_publications" add column "cover_image" text; +alter table "public"."leaflets_to_documents" add column "cover_image" text;