Add new schema

This commit is contained in:
Owen Schwartz 2024-09-28 13:31:22 -04:00
parent 8346db2b74
commit 1abde414be
7 changed files with 202 additions and 106 deletions

View file

@ -19,7 +19,8 @@ let db: Database.Database;
app.prepare().then(() => {
// Open the SQLite database connection
const sqlite = new Database(`${environment.CONFIG_PATH}/db/db.sqlite`, { verbose: console.log });
// const sqlite = new Database(`${environment.CONFIG_PATH}/db/db.sqlite`, { verbose: console.log });
const sqlite = new Database(`${environment.CONFIG_PATH}/db/db.sqlite`);
const db = drizzle(sqlite);
// Main server