svelte5 migration, formatting cleanup

This commit is contained in:
2025-02-11 13:13:17 +01:00
parent 44875efa7e
commit b5a740c302
32 changed files with 5782 additions and 1374 deletions

View File

@@ -10,11 +10,11 @@ const schema = fs.readFileSync('schema.sql', 'utf8');
const db = new Database(dbName);
try {
console.log(`Connected to the ${dbName} database.`);
db.exec(schema);
console.log('Schema initialized successfully.');
console.log(`Connected to the ${dbName} database.`);
db.exec(schema);
console.log('Schema initialized successfully.');
} catch (err) {
console.error(err.message);
console.error(err.message);
} finally {
db.close();
db.close();
}