feat(admin): user management - list + high-risk delete with full cascade (lsky, user db, attachments, auth)

This commit is contained in:
root
2026-10-17 13:37:15 +08:00
parent 68043d309e
commit 5452611a63
20 changed files with 181 additions and 55 deletions
+1 -1
View File
@@ -1374,7 +1374,7 @@ function listFootprints(d, query) {
};
}
return { handleCommand, getDb, pullWire, applyWireBatch };
return { handleCommand, getDb, pullWire, applyWireBatch, close: () => { try { db.close(); } catch {} } };
}
// ---------- 默认单例(开发桥接 / seed 兼容) ----------