Unify user management and add reviewed identity repairs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user