Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/dgqear44.
Something went wrong. Try again.
12345678910import { PrismaBetterSQLite3 } from '@prisma/adapter-better-sqlite3'import { PrismaClient } from '../../prisma/generated/client'
export function getDb() { const pool = new PrismaBetterSQLite3({ url: 'file:./prisma/dev.db' }) const prisma = new PrismaClient({ adapter: pool })
return prisma}