feat(api): Preliminary captcha support database tables

This commit is contained in:
Jesse Wierzbinski 2024-06-12 13:48:58 -10:00
parent 9d8c2e81e9
commit a6159b9d55
No known key found for this signature in database
6 changed files with 2167 additions and 0 deletions

View file

@ -0,0 +1,6 @@
CREATE TABLE IF NOT EXISTS "CaptchaChallenges" (
"id" uuid PRIMARY KEY DEFAULT uuid_generate_v7() NOT NULL,
"challenge" jsonb NOT NULL,
"expires_at" timestamp(3) DEFAULT NOW() + INTERVAL '5 minutes',
"created_at" timestamp(3) DEFAULT now() NOT NULL
);

File diff suppressed because it is too large Load diff

View file

@ -183,6 +183,13 @@
"when": 1718147685855,
"tag": "0025_violet_susan_delgado",
"breakpoints": true
},
{
"idx": 26,
"version": "7",
"when": 1718234302625,
"tag": "0026_neat_stranger",
"breakpoints": true
}
]
}