Files
classroomio/supabase/migrations/20240320081809_email_verification.sql
T
Em_DevandRotimi Best bd905b580a feat: verify users email (#215)
* worked on the email verification

* worked on the email verification

* fixed the emailing issue and the supabase updating issue

* chore: add timer to resend, add supabase.server, enforce unique email

* chore: remove nodemailer logger

* remove async

* remove disposable email verification

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-03-22 06:30:24 +01:00

6 lines
351 B
SQL

alter table "public"."profile" add column "is_email_verified" boolean default false;
alter table "public"."profile" add column "verified_at" timestamp with time zone;
CREATE UNIQUE INDEX profile_email_key ON public.profile USING btree (email);
alter table "public"."profile" add constraint "profile_email_key" UNIQUE using index "profile_email_key";