Added knex module.
This commit is contained in:
parent
291a338eca
commit
e5a10d8059
|
@ -3,5 +3,6 @@ config/*
|
|||
!config/default.js
|
||||
*.config.js
|
||||
!ecosystem.config.js
|
||||
*.sqlite
|
||||
points*.json
|
||||
assets/mash-words.json
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
const knex = require('knex');
|
||||
|
||||
module.exports = knex({
|
||||
client: 'better-sqlite3', // or 'better-sqlite3'
|
||||
useNullAsDefault: true,
|
||||
connection: {
|
||||
filename: './clive.sqlite',
|
||||
},
|
||||
});
|
Loading…
Reference in New Issue