From edf0461885622fdd752ac7c0b428e3e1f2fa0ab6 Mon Sep 17 00:00:00 2001 From: celine Date: Thu, 20 Nov 2025 16:56:44 -0500 Subject: [PATCH] add archived col to leaflets in publicaitons --- supabase/database.types.ts | 3 +++ ...1120215250_add_archived_col_to_leaflets_in_publications.sql | 1 + 2 files changed, 4 insertions(+) create mode 100644 supabase/migrations/20251120215250_add_archived_col_to_leaflets_in_publications.sql diff --git a/supabase/database.types.ts b/supabase/database.types.ts index a27007c7..43d56b03 100644 --- a/supabase/database.types.ts +++ b/supabase/database.types.ts @@ -580,6 +580,7 @@ export type Database = { } leaflets_in_publications: { Row: { + archived: boolean | null description: string doc: string | null leaflet: string @@ -587,6 +588,7 @@ export type Database = { title: string } Insert: { + archived?: boolean | null description?: string doc?: string | null leaflet: string @@ -594,6 +596,7 @@ export type Database = { title?: string } Update: { + archived?: boolean | null description?: string doc?: string | null leaflet?: string diff --git a/supabase/migrations/20251120215250_add_archived_col_to_leaflets_in_publications.sql b/supabase/migrations/20251120215250_add_archived_col_to_leaflets_in_publications.sql new file mode 100644 index 00000000..cad7a1c0 --- /dev/null +++ b/supabase/migrations/20251120215250_add_archived_col_to_leaflets_in_publications.sql @@ -0,0 +1 @@ +alter table "public"."leaflets_in_publications" add column "archived" boolean; -- 2.51.2