refactor(logger): added in the db posting

This commit is contained in:
2025-12-29 06:26:40 -06:00
parent ea72fd10cd
commit 9efd6419b6
9 changed files with 1475 additions and 18 deletions

10
drizzle.config.ts Normal file
View File

@@ -0,0 +1,10 @@
import { defineConfig } from "drizzle-kit";
const dbURL = `postgres://${process.env.DATABASE_USER}:${process.env.DATABASE_PASSWORD}@${process.env.DATABASE_HOST}:${process.env.DATABASE_PORT}/${process.env.DATABASE_DB}`;
export default defineConfig({
dialect: "postgresql",
schema: "./dist/backend/src/db/schema",
out: "./migrations",
dbCredentials: { url: dbURL },
});