feat: add vendor_auth_policy table for passkey MFA support
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS vendor_auth_policy (
|
||||||
|
id INTEGER PRIMARY KEY DEFAULT 1 CHECK (id = 1),
|
||||||
|
mfa_mode VARCHAR(10) NOT NULL DEFAULT 'off',
|
||||||
|
passkey_enabled BOOLEAN NOT NULL DEFAULT false,
|
||||||
|
passkey_mode VARCHAR(10) NOT NULL DEFAULT 'optional',
|
||||||
|
updated_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO vendor_auth_policy (id) VALUES (1) ON CONFLICT DO NOTHING;
|
||||||
Reference in New Issue
Block a user