Skip to content

Commit

Permalink
Add logger to drizzle
Browse files Browse the repository at this point in the history
  • Loading branch information
venables committed Sep 17, 2023
1 parent 381cfe9 commit 88ca177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ import { env } from "@/env"
neonConfig.fetchConnectionCache = true

export const client = neon(env.DATABASE_URL_POOLED ?? env.DATABASE_URL)
export const db = drizzle(client)
export const db = drizzle(client, { logger: true })

1 comment on commit 88ca177

@vercel
Copy link

@vercel vercel bot commented on 88ca177 Sep 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.