make sure I can push db as it is
This commit is contained in:
parent
a575ccd3a1
commit
46ddc6d7f4
@ -10,7 +10,7 @@ import postgres from "postgres"
|
|||||||
import { drizzle } from "drizzle-orm/postgres-js"
|
import { drizzle } from "drizzle-orm/postgres-js"
|
||||||
import type { AdapterAccountType } from "next-auth/adapters"
|
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 })
|
const pool = postgres(connectionString, { max: 1 })
|
||||||
|
|
||||||
export const db = drizzle(pool)
|
export const db = drizzle(pool)
|
||||||
|
Loading…
Reference in New Issue
Block a user