chore: full stack stability and migration fixes, plus react UI progress
This commit is contained in:
@@ -3,7 +3,7 @@ CREATE SCHEMA IF NOT EXISTS auth;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS auth.mfa_factors (
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
user_id UUID NOT NULL REFERENCES public.users(id) ON DELETE CASCADE,
|
||||
user_id UUID NOT NULL REFERENCES auth.users(id) ON DELETE CASCADE,
|
||||
factor_type TEXT NOT NULL, -- e.g., 'totp'
|
||||
secret TEXT NOT NULL,
|
||||
status TEXT NOT NULL CHECK (status IN ('unverified', 'verified')),
|
||||
|
||||
Reference in New Issue
Block a user