Open Anissa3005 opened 1 year ago
Instead using import { PrismaClient, products } from "@prisma/client" const prisma = new PrismaClient();
import { PrismaClient, products } from "@prisma/client" const prisma = new PrismaClient();
use import {prisma} from "../utils/db.server"
import {prisma} from "../utils/db.server"
git fetch origin git checkout 59-backend-fix-import-prisma-client-from-seeds
Instead using
import { PrismaClient, products } from "@prisma/client" const prisma = new PrismaClient();
use
import {prisma} from "../utils/db.server"