mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-25 19: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;
|
||||
export function getDb() {
|
||||
const sqlite = new Database(DB_PATH);
|
||||
db = drizzle(sqlite, { schema });
|
||||
db = drizzle(sqlite, { schema, logger: true });
|
||||
migrateDb(db);
|
||||
return db;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue