Use generated prisma client.

This commit is contained in:
Mike Cao 2025-05-01 04:24:56 -07:00
parent c0ccffeab4
commit 63e0873b5d
9 changed files with 1253 additions and 114 deletions

View file

@ -1,5 +1,5 @@
import debug from 'debug';
import { PrismaClient } from '@/generated/prisma/index.js';
import { PrismaClient } from '@/generated/prisma/client';
import { readReplicas } from '@prisma/extension-read-replicas';
import { formatInTimeZone } from 'date-fns-tz';
import { MYSQL, POSTGRESQL, getDatabaseType } from '@/lib/db';