sub-manager-backend/db.mjs

17 lines
304 B
JavaScript
Raw Normal View History

2023-09-06 16:26:15 +00:00
import knex from "knex";
export const db = knex({
client: 'sqlite3',
connection: {
filename: "./submissions"
},
useNullAsDefault: true
})
export const testDb = knex({
client: 'sqlite3',
connection: {
filename: "./test.db"
},
useNullAsDefault: true
})