chore: sync local changes to Gitea
This commit is contained in:
4
migrations/0002_share_token.sql
Normal file
4
migrations/0002_share_token.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- 临时分享:每个账户可选的唯一 share_token,用于公开链接仅暴露单条 2FA
|
||||
ALTER TABLE totp_accounts ADD COLUMN share_token TEXT;
|
||||
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS idx_totp_share_token ON totp_accounts (share_token);
|
||||
Reference in New Issue
Block a user