From 46ddc6d7f4a99fa9ae60b98c234de16f7a67fd5a Mon Sep 17 00:00:00 2001 From: gibbyb Date: Thu, 8 Aug 2024 04:51:54 -0500 Subject: [PATCH] make sure I can push db as it is --- src/server/db/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/db/schema.ts b/src/server/db/schema.ts index a13f408..d68cf52 100644 --- a/src/server/db/schema.ts +++ b/src/server/db/schema.ts @@ -10,7 +10,7 @@ import postgres from "postgres" import { drizzle } from "drizzle-orm/postgres-js" import type { AdapterAccountType } from "next-auth/adapters" -const connectionString = process.env.DATABASE_URL ?? ""; +const connectionString = "postgres://postgres:postgres@localhost:5432/drizzle" const pool = postgres(connectionString, { max: 1 }) export const db = drizzle(pool)