Skip to content

Commit 449002c

Browse files
adamkasperatinux
andauthored
fix(db): update neon-http connection string format in setup.ts (#750)
Co-authored-by: Sébastien Chopin <[email protected]>
1 parent e45fc05 commit 449002c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export { db, schema }
326326
import { drizzle } from 'drizzle-orm/neon-http'
327327
import * as schema from './db/schema.mjs'
328328
329-
const sql = neon(${connection.connectionString})
329+
const sql = neon('${connection.url}')
330330
const db = drizzle(sql, { schema${casingOption} })
331331
export { db, schema }
332332
`

0 commit comments

Comments
 (0)