From d3b515fd992accff23449f5f6e54fdf71f206056 Mon Sep 17 00:00:00 2001 From: shuaiplus <2327005759@qq.com> Date: Sun, 1 Mar 2026 19:34:40 +0800 Subject: [PATCH] feat: add TOTP recovery code field to users table --- migrations/0001_init.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/0001_init.sql b/migrations/0001_init.sql index 06b8928..bf9486c 100644 --- a/migrations/0001_init.sql +++ b/migrations/0001_init.sql @@ -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 );