mirror of https://github.com/TZGyn/shortener
undo zod env due to stuff breaking
parent
21d9e4e29c
commit
8a6823af19
@ -1,7 +1,6 @@
|
||||
import { drizzle } from 'drizzle-orm/postgres-js'
|
||||
import postgres from 'postgres'
|
||||
import * as schema from './schema'
|
||||
import { env } from '$lib/env'
|
||||
|
||||
const client = postgres(env.DATABASE_URL)
|
||||
const client = postgres(Bun.env.DATABASE_URL ?? '')
|
||||
export const db = drizzle(client, { schema })
|
||||
|
||||
Loading…
Reference in New Issue