Browse Source

Adds useNullAsDefault to default sqlite config

chaptergy 4 years ago
parent
commit
198bd74ec6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      backend/index.js

+ 2 - 1
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)) {