diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-24 10:32:22 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-24 10:32:22 +0200 |
| commit | c3d49711b08a96b2b93656c2919fa1b95b4fce6b (patch) | |
| tree | 189965ac8f1b9998401ad9bcf77483f114ff985b /apps/web/src/lib/db/index.tsx | |
| parent | b9e1dcf23e29e0adb08119b92f91e81db23ebb26 (diff) | |
| parent | 30bc2127a2e1fb8368d0e29d5eb755e30dc1485e (diff) | |
| download | opencut-c3d49711b08a96b2b93656c2919fa1b95b4fce6b.tar.gz | |
Merge branch 'main' of https://github.com/mazeincoding/AppCut
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 });
|
