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
|
2023-11-13 11:09:47 +00:00
|
|
|
})
|
|
|
|
|
2024-02-16 10:24:15 +00:00
|
|
|
|
2023-11-13 11:09:47 +00:00
|
|
|
|