a tool for shared writing and social publishing

add migration to set leaflets_in_publications.doc to null on delete

+3
+3
supabase/migrations/20250522033859_update_leaflets_in_pubs_on_doc_delete.sql
··· 1 + alter table "public"."leaflets_in_publications" drop constraint "leaflets_in_publications_doc_fkey"; 2 + alter table "public"."leaflets_in_publications" add constraint "leaflets_in_publications_doc_fkey" FOREIGN KEY (doc) REFERENCES documents(uri) ON DELETE SET NULL not valid; 3 + alter table "public"."leaflets_in_publications" validate constraint "leaflets_in_publications_doc_fkey";