diff options
| author | Hyteq <DerpsDer.es@gmail.com> | 2025-06-24 11:27:19 +0300 |
|---|---|---|
| committer | Hyteq <DerpsDer.es@gmail.com> | 2025-06-24 11:27:19 +0300 |
| commit | e2872005fb0963988730317a2fdb4dce39ee47b5 (patch) | |
| tree | d0125ac80407025c5a05ffdb3c50d3b5997a3e68 /apps/web/src/lib/db/index.tsx | |
| parent | a21fc9271813b5cac3bec0e13c96accdfcf23f97 (diff) | |
| download | opencut-e2872005fb0963988730317a2fdb4dce39ee47b5.tar.gz | |
feat: initial auth package
Diffstat (limited to 'apps/web/src/lib/db/index.tsx')
| -rw-r--r-- | apps/web/src/lib/db/index.tsx | 14 |
1 files changed, 0 insertions, 14 deletions
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 });
|
