From 263ba3590ae54faf7587a4f980579bbe0f29f931 Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Mon, 3 Apr 2023 15:03:55 -0700 Subject: [PATCH] try diff path --- src/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.js b/src/db.js index 12ce987..71fecd0 100644 --- a/src/db.js +++ b/src/db.js @@ -117,7 +117,7 @@ const createMigrationTable = `create table migrations ( run boolean not null )`; -let db = new sqlite3.Database('/var/www/db.sqlite3', sqlite3.OPEN_READWRITE, async (err) => { +let db = new sqlite3.Database('/db/db.sqlite3', sqlite3.OPEN_READWRITE, async (err) => { if (err && err.code == "SQLITE_CANTOPEN") { db = new sqlite3.Database('./db.sqlite3', async (err) => { if (err) {