feat(server): Add the field api_key at the database

This commit is contained in:
maooyer
2026-04-21 21:05:32 +08:00
committed by shuaiplus
parent 77794e43ce
commit d6e5a1c40b
4 changed files with 12 additions and 6 deletions
+1
View File
@@ -28,6 +28,7 @@ CREATE TABLE IF NOT EXISTS users (
verify_devices INTEGER NOT NULL DEFAULT 1,
totp_secret TEXT,
totp_recovery_code TEXT,
api_key TEXT,
created_at TEXT NOT NULL,
updated_at TEXT NOT NULL
);