mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
chore: update version to 1.1.0 and improve two-factor provider validation
This commit is contained in:
@@ -122,7 +122,7 @@ export class StorageService {
|
||||
// --- Database initialization ---
|
||||
// Strategy:
|
||||
// - Run only once per isolate.
|
||||
// - Execute idempotent schema SQL on first DB use in each isolate.
|
||||
// - Execute idempotent schema SQL on first request in each isolate.
|
||||
// - Keep statements idempotent so updates are safe.
|
||||
async initializeDatabase(): Promise<void> {
|
||||
if (StorageService.schemaVerified) return;
|
||||
|
||||
Reference in New Issue
Block a user