Add verified email API key signup
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE "signup_tokens" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"email" text NOT NULL,
|
||||
"token_hash" text NOT NULL,
|
||||
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
||||
"expires_at" timestamp with time zone NOT NULL,
|
||||
"consumed_at" timestamp with time zone,
|
||||
CONSTRAINT "signup_tokens_token_hash_unique" UNIQUE("token_hash")
|
||||
);
|
||||
Reference in New Issue
Block a user