pull/715/head
Travis Fischer 2025-06-25 04:13:34 -05:00
rodzic e439c271c9
commit 617bdce375
1 zmienionych plików z 2 dodań i 5 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
import { drizzle as postgresDrizzle } from '@fisch0920/drizzle-orm/postgres-js'
import { drizzle } from '@fisch0920/drizzle-orm/postgres-js'
import postgres from 'postgres'
import { env } from '@/lib/env'
@ -11,10 +11,7 @@ let _postgresClient: PostgresClient | undefined
const postgresClient =
_postgresClient ?? (_postgresClient = postgres(env.DATABASE_URL))
export const db = postgresDrizzle({
client: postgresClient,
schema
})
export const db = drizzle({ client: postgresClient, schema })
export * as schema from './schema'
export {