tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
add migration to domain tables
awarm.space
9 months ago
897a60d8
eac4c596
+4
1 changed file
expand all
collapse all
unified
split
supabase
migrations
20250521182744_modify_custom_domain_relations.sql
+4
supabase/migrations/20250521182744_modify_custom_domain_relations.sql
···
1
1
+
alter table "public"."custom_domains" alter column "identity" drop not null;
2
2
+
alter table "public"."publication_domains" add column "identity" text not null;
3
3
+
alter table "public"."publication_domains" add constraint "publication_domains_identity_fkey" FOREIGN KEY (identity) REFERENCES identities(atp_did) ON UPDATE CASCADE ON DELETE CASCADE not valid;
4
4
+
alter table "public"."publication_domains" validate constraint "publication_domains_identity_fkey";