Rearranged how the sqlite database is stored for better volume mounting

This commit is contained in:
Ryderjj89
2025-06-04 17:39:15 -04:00
parent eee0422579
commit afc09aed77
2 changed files with 6 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ interface RSVP {
async function connectToDatabase() {
try {
// Database file will be in the app directory
const dbPath = path.join(__dirname, '../database.sqlite');
const dbPath = path.join(__dirname, '../database/database.sqlite');
db = await open({
filename: dbPath,