feat: add TOTP recovery code field to users table

This commit is contained in:
shuaiplus
2026-03-01 19:34:40 +08:00
committed by Shuai
parent 68f66cf4e6
commit d3b515fd99
+1
View File
@@ -25,6 +25,7 @@ CREATE TABLE IF NOT EXISTS users (
role TEXT NOT NULL DEFAULT 'user',
status TEXT NOT NULL DEFAULT 'active',
totp_secret TEXT,
totp_recovery_code TEXT,
created_at TEXT NOT NULL,
updated_at TEXT NOT NULL
);