fix(database): use per-user admin passwords

This commit is contained in:
Codex committed 2026-09-28 19:03:19 +08:00
1 parent 33e80a566e
commit 9862348d70
17 files changed
+188 -38

No files matched your search

@@ -0,0 +1,7 @@
CREATE TABLE lifeos_admin_credentials (
user_id TEXT PRIMARY KEY,
salt TEXT NOT NULL,
password_hash TEXT NOT NULL,
iterations INTEGER NOT NULL,
updated_at TEXT NOT NULL
);
+7
View File
@@ -22,6 +22,13 @@
"when": 1790649000000,
"tag": "0002_lifeos_db_admin",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1790650800000,
"tag": "0003_lifeos_admin_credentials",
"breakpoints": true
}
]
}