a tool for shared writing and social publishing

add cover image to leaflet in pubs tables

+6
supabase/database.types.ts
··· 581 581 leaflets_in_publications: { 582 582 Row: { 583 583 archived: boolean | null 584 + cover_image: string | null 584 585 description: string 585 586 doc: string | null 586 587 leaflet: string ··· 589 590 } 590 591 Insert: { 591 592 archived?: boolean | null 593 + cover_image?: string | null 592 594 description?: string 593 595 doc?: string | null 594 596 leaflet: string ··· 597 599 } 598 600 Update: { 599 601 archived?: boolean | null 602 + cover_image?: string | null 600 603 description?: string 601 604 doc?: string | null 602 605 leaflet?: string ··· 629 632 } 630 633 leaflets_to_documents: { 631 634 Row: { 635 + cover_image: string | null 632 636 created_at: string 633 637 description: string 634 638 document: string ··· 636 640 title: string 637 641 } 638 642 Insert: { 643 + cover_image?: string | null 639 644 created_at?: string 640 645 description?: string 641 646 document: string ··· 643 648 title?: string 644 649 } 645 650 Update: { 651 + cover_image?: string | null 646 652 created_at?: string 647 653 description?: string 648 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;