try diff path

reactors
Thomas Hintz 2 years ago
parent 5c755d8947
commit 263ba3590a

@ -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) {

Loading…
Cancel
Save