Unify user management and add reviewed identity repairs
Magent CI/CD / verify (push) Canceled after 9m3s
Magent CI/CD / deploy-prod (push) Canceled after 0s
Magent CI/CD / deploy-beta (push) Canceled after 0s

This commit is contained in:
2026-09-10 16:06:30 +12:00
parent 9856c7fb90
commit 6e473fd0a7
11 changed files with 501 additions and 191 deletions
+10
View File
@@ -206,6 +206,16 @@ def init_db() -> None:
UNIQUE (jellyfin_server_id, jellyfin_user_id)
)
""")
conn.execute("""
CREATE TABLE IF NOT EXISTS user_identity_repairs (
id INTEGER PRIMARY KEY AUTOINCREMENT,
local_user_id INTEGER NOT NULL,
before_json TEXT NOT NULL,
after_json TEXT NOT NULL,
repaired_at TEXT NOT NULL,
repaired_by TEXT NOT NULL
)
""")
conn.execute("""
CREATE TABLE IF NOT EXISTS request_repairs (
id INTEGER PRIMARY KEY AUTOINCREMENT,