const knex = require('knex');
const instance = process.env.NODE_APP_INSTANCE || 'main';
module.exports = knex({
client: 'better-sqlite3', // or 'better-sqlite3'
useNullAsDefault: true,
connection: {
filename: `./${instance}.sqlite`,
},
});