From 198bd74ec661aa3f41a6defb32b5c0cf9fa2ae4a Mon Sep 17 00:00:00 2001 From: chaptergy <26956711+chaptergy@users.noreply.github.com> Date: Tue, 25 May 2021 14:16:46 +0200 Subject: [PATCH] Adds useNullAsDefault to default sqlite config --- backend/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/index.js b/backend/index.js index 3118cdc0..f4f79518 100644 --- a/backend/index.js +++ b/backend/index.js @@ -95,7 +95,8 @@ async function createDbConfigFromEnvironment() { client: 'sqlite3', connection: { filename: envSqliteFile - } + }, + useNullAsDefault: true } }; if (JSON.stringify(configData.database) === JSON.stringify(newConfig)) {