fix problems with race conditions and multiple DatabaseService instances

This commit is contained in:
2025-05-25 19:46:15 -06:00
parent a3bdcfd168
commit a38934e38d
3 changed files with 75 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ import type { QueryExecResult } from '../services/migrationService';
const MIGRATIONS = [
{
name: '001_initial',
// see ../db/tables files for explanations
// see ../db/tables files for explanations of the fields
sql: `
CREATE TABLE IF NOT EXISTS accounts (
id INTEGER PRIMARY KEY AUTOINCREMENT,