From e2872005fb0963988730317a2fdb4dce39ee47b5 Mon Sep 17 00:00:00 2001 From: Hyteq Date: Tue, 24 Jun 2025 11:27:19 +0300 Subject: feat: initial auth package --- apps/web/src/lib/db/index.tsx | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 apps/web/src/lib/db/index.tsx (limited to 'apps/web/src/lib/db/index.tsx') diff --git a/apps/web/src/lib/db/index.tsx b/apps/web/src/lib/db/index.tsx deleted file mode 100644 index b66c6e39..00000000 --- a/apps/web/src/lib/db/index.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { drizzle } from "drizzle-orm/node-postgres"; -import { Pool } from "pg"; -import * as schema from "./schema"; - -const pool = new Pool({ - connectionString: process.env.DATABASE_URL, - max: 3, - idleTimeoutMillis: 10000, - connectionTimeoutMillis: 15000, - query_timeout: 20000, - statement_timeout: 20000, -}); - -export const db = drizzle(pool, { schema }); -- cgit v1.3.1