···11+create table "public"."publication_domains" (
22+ "publication" text not null,
33+ "domain" text not null,
44+ "created_at" timestamp with time zone not null default now()
55+);
66+alter table "public"."publication_domains" enable row level security;
77+CREATE UNIQUE INDEX publication_domains_pkey ON public.publication_domains USING btree (publication, domain);
88+alter table "public"."publication_domains" add constraint "publication_domains_pkey" PRIMARY KEY using index "publication_domains_pkey";
99+alter table "public"."publication_domains" add constraint "publication_domains_domain_fkey" FOREIGN KEY (domain) REFERENCES custom_domains(domain) ON DELETE CASCADE not valid;
1010+alter table "public"."publication_domains" validate constraint "publication_domains_domain_fkey";
1111+alter table "public"."publication_domains" add constraint "publication_domains_publication_fkey" FOREIGN KEY (publication) REFERENCES publications(uri) ON DELETE CASCADE not valid;
1212+alter table "public"."publication_domains" validate constraint "publication_domains_publication_fkey";
1313+grant delete on table "public"."publication_domains" to "anon";
1414+grant insert on table "public"."publication_domains" to "anon";
1515+grant references on table "public"."publication_domains" to "anon";
1616+grant select on table "public"."publication_domains" to "anon";
1717+grant trigger on table "public"."publication_domains" to "anon";
1818+grant truncate on table "public"."publication_domains" to "anon";
1919+grant update on table "public"."publication_domains" to "anon";
2020+grant delete on table "public"."publication_domains" to "authenticated";
2121+grant insert on table "public"."publication_domains" to "authenticated";
2222+grant references on table "public"."publication_domains" to "authenticated";
2323+grant select on table "public"."publication_domains" to "authenticated";
2424+grant trigger on table "public"."publication_domains" to "authenticated";
2525+grant truncate on table "public"."publication_domains" to "authenticated";
2626+grant update on table "public"."publication_domains" to "authenticated";
2727+grant delete on table "public"."publication_domains" to "service_role";
2828+grant insert on table "public"."publication_domains" to "service_role";
2929+grant references on table "public"."publication_domains" to "service_role";
3030+grant select on table "public"."publication_domains" to "service_role";
3131+grant trigger on table "public"."publication_domains" to "service_role";
3232+grant truncate on table "public"."publication_domains" to "service_role";
3333+grant update on table "public"."publication_domains" to "service_role";