Refactor database schema; add hunts and team_clues tables, update clues structure, and improve error handling in routes

This commit is contained in:
bobbert committed 2025-03-12 16:16:42 +00:00
1 parent 4f7fdc6ad2
commit 77e83dc21c
13 files changed
+136 -111

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ let db = null;
export function getDb() {
if (!db) {
db = new sqlite3.Database("./database.sqlite", (err) => {
db = new sqlite3.Database("./clue_hunt.db", (err) => {
if (err) {
console.error("Error connecting to database:", err);
} else {