db config altered to avoid annoying popup
This commit is contained in:
parent
2de6322500
commit
79e610441f
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue