a tool for shared writing and social publishing

add cover image to leaflet in pubs tables

+8
+6
supabase/database.types.ts
··· 581 leaflets_in_publications: { 582 Row: { 583 archived: boolean | null 584 description: string 585 doc: string | null 586 leaflet: string ··· 589 } 590 Insert: { 591 archived?: boolean | null 592 description?: string 593 doc?: string | null 594 leaflet: string ··· 597 } 598 Update: { 599 archived?: boolean | null 600 description?: string 601 doc?: string | null 602 leaflet?: string ··· 629 } 630 leaflets_to_documents: { 631 Row: { 632 created_at: string 633 description: string 634 document: string ··· 636 title: string 637 } 638 Insert: { 639 created_at?: string 640 description?: string 641 document: string ··· 643 title?: string 644 } 645 Update: { 646 created_at?: string 647 description?: string 648 document?: string
··· 581 leaflets_in_publications: { 582 Row: { 583 archived: boolean | null 584 + cover_image: string | null 585 description: string 586 doc: string | null 587 leaflet: string ··· 590 } 591 Insert: { 592 archived?: boolean | null 593 + cover_image?: string | null 594 description?: string 595 doc?: string | null 596 leaflet: string ··· 599 } 600 Update: { 601 archived?: boolean | null 602 + cover_image?: string | null 603 description?: string 604 doc?: string | null 605 leaflet?: string ··· 632 } 633 leaflets_to_documents: { 634 Row: { 635 + cover_image: string | null 636 created_at: string 637 description: string 638 document: string ··· 640 title: string 641 } 642 Insert: { 643 + cover_image?: string | null 644 created_at?: string 645 description?: string 646 document: string ··· 648 title?: string 649 } 650 Update: { 651 + cover_image?: string | null 652 created_at?: string 653 description?: string 654 document?: string
+2
supabase/migrations/20251223000000_add_cover_image_column.sql
···
··· 1 + alter table "public"."leaflets_in_publications" add column "cover_image" text; 2 + alter table "public"."leaflets_to_documents" add column "cover_image" text;