sub-manager-backend/db.mjs

25 lines
415 B
JavaScript
Raw Permalink Normal View History

2023-09-06 16:26:15 +00:00
import knex from "knex";
export const db = knex({
2024-06-10 09:50:46 +00:00
client: "sqlite3",
connection: {
filename: "./submissions.db",
},
useNullAsDefault: true,
});
export const userDb = knex({
client: "sqlite3",
connection: {
filename: "./users.db",
},
useNullAsDefault: true,
});
2023-11-13 11:09:47 +00:00
2024-06-10 09:50:46 +00:00
export const testDb = knex({
client: "sqlite3",
connection: {
filename: "./test.db",
},
useNullAsDefault: true,
});