mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-11-04 18:40:20 +00:00
feat(server): Add the field api_key at the database
This commit is contained in:
1 parent
77794e43ce
commit
d6e5a1c40b
4 files changed
+12
-6
No files matched your search
@@ -13,6 +13,7 @@ const SCHEMA_STATEMENTS: readonly string[] = [
|
||||
'ALTER TABLE users ADD COLUMN verify_devices INTEGER NOT NULL DEFAULT 1',
|
||||
'ALTER TABLE users ADD COLUMN totp_secret TEXT',
|
||||
'ALTER TABLE users ADD COLUMN totp_recovery_code TEXT',
|
||||
'ALTER TABLE users ADD COLUMN api_key TEXT',
|
||||
|
||||
'CREATE TABLE IF NOT EXISTS user_revisions (' +
|
||||
'user_id TEXT PRIMARY KEY, revision_date TEXT NOT NULL, ' +
|
||||
|
||||
Reference in new issue
Block a user