Files
classroomio/supabase/migrations/20240904050707_custom_domain.sql
T
Rotimi Best 12d7a1ac3c feat: support custom domain (#462)
* feat: add custom domain CRUD

* chore: fetch organization in layout in server before render

* debugging

* update log
2024-09-04 06:32:54 +01:00

12 lines
537 B
SQL

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";