db config altered to avoid annoying popup

This commit is contained in:
Andrzej Stepien 2023-08-09 14:07:34 +02:00
parent 2de6322500
commit 79e610441f
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ export const db = Knex({
client: 'sqlite3', // or 'better-sqlite3' client: 'sqlite3', // or 'better-sqlite3'
connection: { connection: {
filename: "data/database" filename: "data/database"
} },
useNullAsDefault: true
}) })
export const getWords = async (db) => { export const getWords = async (db) => {