feat: support custom domain (#462)

* feat: add custom domain CRUD

* chore: fetch organization in layout in server before render

* debugging

* update log
This commit is contained in:
Rotimi Best
2024-09-04 06:32:54 +01:00
committed by GitHub
parent d1b38ca61e
commit 12d7a1ac3c
25 changed files with 915 additions and 221 deletions
@@ -0,0 +1,11 @@
alter table "public"."organization" add column "customCode" text;
alter table "public"."organization" add column "customDomain" text;
alter table "public"."organization" add column "favicon" text;
alter table "public"."organization" add column "isCustomDomainVerified" boolean default false;
CREATE UNIQUE INDEX "organization_customDomain_key" ON public.organization USING btree ("customDomain");
alter table "public"."organization" add constraint "organization_customDomain_key" UNIQUE using index "organization_customDomain_key";