mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 14:16:19 +00:00
printear queries
This commit is contained in:
parent
9d9249e2b3
commit
eca98c616e
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import { migrateDb } from "./migrate.js";
|
||||||
let db = null;
|
let db = null;
|
||||||
export function getDb() {
|
export function getDb() {
|
||||||
const sqlite = new Database(DB_PATH);
|
const sqlite = new Database(DB_PATH);
|
||||||
db = drizzle(sqlite, { schema });
|
db = drizzle(sqlite, { schema, logger: true });
|
||||||
migrateDb(db);
|
migrateDb(db);
|
||||||
return db;
|
return db;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue