Register handlers after db opened

This commit is contained in:
Tarrgon
2026-06-03 20:17:19 -04:00
parent fd3f626db4
commit 343cb3123c
3 changed files with 14 additions and 10 deletions
+2
View File
@@ -122,6 +122,8 @@ export class Database {
static async open(file: string): Promise<void> {
if (Database.db) return;
console.log('Opening SQLite database')
Database.db = await open({
filename: file,
driver: sqlite3.Database