CREATE TABLE "email_verifications" ( "id" text PRIMARY KEY NOT NULL, "user_id" uuid NOT NULL, "email" varchar(320) NOT NULL, "expires_at" timestamp with time zone NOT NULL, "created_at" timestamp with time zone DEFAULT now() NOT NULL ); --> statement-breakpoint ALTER TABLE "users" ADD COLUMN "email_verified_at" timestamp with time zone;--> statement-breakpoint ALTER TABLE "users" ADD COLUMN "pending_email" varchar(320);--> statement-breakpoint ALTER TABLE "email_verifications" ADD CONSTRAINT "email_verifications_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint CREATE INDEX "email_verifications_user_idx" ON "email_verifications" USING btree ("user_id");